{"id":"CVE-2024-52293","summary":"Craft has a Potential Remote Code Execution via missing path normalization & Twig SSTI","details":"Craft is a content management system (CMS). Prior to 4.12.2 and 5.4.3, Craft is missing normalizePath in the function FileHelper::absolutePath could lead to Remote Code Execution on the server via twig SSTI. This is a sequel to CVE-2023-40035. This vulnerability is fixed in 4.12.2 and 5.4.3.","aliases":["GHSA-f3cw-hg6r-chfv"],"modified":"2026-08-12T03:51:48.710891236Z","published":"2024-11-13T16:04:52.005Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52293.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52293.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52293"},{"type":"FIX","url":"https://github.com/craftcms/cms/commit/123e48a696de1e2f63ab519d4730eb3b87beaa58"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"daac7c1da2f701f2e9ddee1da1457ce61660b581"},{"fixed":"c06b418e11cc712f8353ae2338ac9880dcbe6889"},{"introduced":"04755d93f86d07cc183db47db8a0eee106892e30"},{"fixed":"5f69bc4f699e6f97a90c057584e720a808c80b98"}],"database_specific":{"extracted_events":[{"introduced":"4.0.0-RC1"},{"fixed":"4.12.2"},{"introduced":"5.0.0-RC1"},{"fixed":"5.4.3"}],"source":"AFFECTED_FIELD"}}],"versions":["4.0.0-rc1","4.0.0-rc2","4.0.0-rc3","5.0.0-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52293.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}