CVE-2024-32981Silverstripe Framework
Medium 5.4
Follow: this CVE · Silverstripe · Silverstripe Framework We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 44
- Auth required
- Yes
- Published
- Jul 17, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Framework.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | silverstripe/framework |
< 5.2.16 |
5.2.16 |
composer require "silverstripe/framework:^5.2.16" |
Per OSV / GitHub Advisories (GHSA-chx7-9x8h-r5mg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| silverstripe | framework | < 5.2.16 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Third Party Advisory
- www.silverstripe.org Vendor Advisory