PT-2024-20460 · Statamic · Statamic
Niklas Schilling
·
Published
2024-02-01
·
Updated
2024-02-14
·
CVE-2024-24570
CVSS v3.1
8.2
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Statamic versions prior to 3.4.17
Statamic versions prior to 4.46.0
Description
The issue allows HTML files crafted to look like jpg files to be uploaded, enabling cross-site scripting (XSS) attacks. This affects front-end forms with asset fields without mime type validation, asset fields in the control panel, and the asset browser in the control panel. If the XSS is crafted in a specific way, the "copy password reset link" feature can be exploited to gain access to a user's password reset token and their account. The authorized user must execute the XSS for the vulnerability to occur.
Recommendations
For versions prior to 3.4.17, update to version 3.4.17 or later to patch the XSS vulnerability and disable the copy password reset link functionality.
For versions prior to 4.46.0, update to version 4.46.0 or later to patch the XSS vulnerability and disable the copy password reset link functionality.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Statamic