Cross-site Scripting vulnerability with encoded payload in silverstripe/framework
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
silverstripe/frameworkPackagist | < 5.2.16 | 5.2.16 |
Affected products
2- Range: < 5.2.16
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-chx7-9x8h-r5mgghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-32981ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2024-32981.yamlghsaWEB
- github.com/silverstripe/silverstripe-framework/commit/b8d20dc9d531550e06fd7da7a0eafa551922e2e1ghsax_refsource_MISCWEB
- github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-chx7-9x8h-r5mgghsax_refsource_CONFIRMWEB
- www.silverstripe.org/download/security-releases/cve-2024-32981ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.