{"id":"CVE-2024-32981","aliases":["GHSA-chx7-9x8h-r5mg"],"url":"https://o3.security/vulnerability/CVE-2024-32981","summary":"Cross-site Scripting vulnerability with encoded payload in silverstripe/framework","details":"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.","published":"2024-07-17T19:36:00.563Z","modified":"2026-08-08T03:30:42.496528910Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"silverstripe/framework","fixedVersion":"5.2.16"}],"fix":{"url":"https://github.com/silverstripe/silverstripe-framework/commit/b8d20dc9d531550e06fd7da7a0eafa551922e2e1","label":"silverstripe/silverstripe-framework@b8d20dc"},"references":[{"type":"WEB","url":"https://www.silverstripe.org/download/security-releases/cve-2024-32981"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32981.json"},{"type":"ADVISORY","url":"https://github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-chx7-9x8h-r5mg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32981"},{"type":"FIX","url":"https://github.com/silverstripe/silverstripe-framework/commit/b8d20dc9d531550e06fd7da7a0eafa551922e2e1"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:30:42.496528910Z"}}