{"id":"CVE-2024-24570","published":"2024-02-01T16:42:57Z","modified":"2025-06-17T21:29:22Z","title":"Statamic account takeover via XSS and password reset link","vendor":"statamic","product":"cms","tier":"tail","description":{"text":"Statamic is a Laravel and Git powered CMS. HTML files crafted to look like jpg files are able to be uploaded, allowing for XSS. This affects the front-end forms with asset fields without any mime type validation, asset fields in the control panel, and asset browser in the control panel. Additionally, if the XSS is crafted in a specific way, the \"copy password reset link\" feature may be exploited to gain access to a user's password reset token and gain access to their account. The authorized user is required to execute the XSS in order for the vulnerability to occur. In versions 4.46.0 and 3.4.17, the XSS vulnerability has been patched, and the copy password reset link functionality has been disabled.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00734,"percentile":0.55311,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/statamic/cms/security/advisories/GHSA-vqxq-hvxw-9mv9","tags":["x_refsource_CONFIRM"]},{"url":"http://seclists.org/fulldisclosure/2024/Feb/17","tags":[]},{"url":"http://packetstormsecurity.com/files/177133/Statamic-CMS-Cross-Site-Scripting.html","tags":[]}],"priority":{"score":21.8,"factors":[{"name":"EPSS percentile","points":11.06},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"statamic","affectedVersions":[{"vendor":"statamic","product":"cms","versions":["< 3.4.17",">= 4.0.0, < 4.46.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-02-15T16:19:41.715803Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"statamic/cms","vulnerableRanges":[">=4.00, <4.46.0","<3.4.17"],"patched":["4.46.0","3.4.17"],"from":["GHSA-vqxq-hvxw-9mv9"],"provenance":"source"}],"summary":{"text":"Statamic CMS contains a cross-site scripting flaw: HTML files disguised as JPG images can be uploaded through front-end forms with asset fields lacking MIME type validation, and through asset fields and the asset browser in the control panel. An unauthenticated remote attacker can exploit this by getting an authorized user to trigger the injected script, which, when crafted in a specific way, can abuse the \"copy password reset link\" feature to obtain a user's password reset token and take over their account.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:56:50Z"},"euvd":{"id":"EUVD-2024-0740","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/177133/Statamic-CMS-Cross-Site-Scripting.html"],"lineage":{"packageHistory":[{"cve":"CVE-2023-47129","published":"2023-11-10","fixed":"4.33.0","kev":false},{"cve":"CVE-2023-48217","published":"2023-11-14","fixed":"4.34.0","kev":false},{"cve":"CVE-2023-48701","published":"2023-11-21","fixed":"4.36.0","kev":false,"link":{"from":"CVE-2023-48701","to":"CVE-2024-24570","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:statamic/cms","fromFixed":"3.4.15","toFixed":"3.4.17","daysApart":72},{"kind":"version-step","provenance":"source","package":"Packagist:statamic/cms","fromFixed":"4.36.0","toFixed":"4.46.0","daysApart":72},{"kind":"similar","provenance":"machine","score":0.38,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2024-24570","published":"2024-02-01","fixed":"4.46.0","kev":false},{"cve":"CVE-2024-36119","published":"2024-05-30","fixed":"5.6.2","kev":false},{"cve":"CVE-2024-52600","published":"2024-11-19","fixed":"5.17.0","kev":false},{"cve":"CVE-2025-64112","published":"2025-10-30","fixed":"5.22.1","kev":false}],"package":"Packagist:statamic/cms"}}