XSS in Silverstripe Framework
CVE-2024-32981
Silverstripe framework is the PHP framework forming the base for the Silverstripe CMS. In affected versions a bad actor with access to edit content in the CMS could add send a specifically crafted encoded payload to the server, which could be used to inject a JavaScript payload on the front end of the site. The payload would be sanitised on the client-side, but server-side sanitisation doesn't catch it. The server-side sanitisation logic has been updated to sanitise against this type of attack in version 5.2.16. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.003 (27.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
Affected products
- Silverstripe Framework
- Silverstripe Silverstripe-framework — versions < 5.2.16
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, Vendor Advisory)
Frequently asked questions
- What is CVE-2024-32981?
- CVE-2024-32981 is a medium-severity vulnerability in Silverstripe Framework, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2024-07-17.
- How severe is CVE-2024-32981?
- Medium severity. CVSS v3 base score is 5.4 out of 10.