CVE-2024-32981
Cross-site Scripting vulnerability with encoded payload in silverstripe/framework
CVE-2024-32981 is an XSS in Silverstripe Silverstripe-framework (CVSS 5.4, Medium).
Public exploit available. Not confirmed exploited in the wild yet. Fixed in 5.2.16.
Public exploit: 1 sourceFix5.2.16Upgrade to this build
e.g. OID 1.3.6.1.4.1.25623.1.0.126991
What to do
Find your product and version, then upgrade to the build on the right.
- Silverstripe-frameworkAffected: < 5.2.16Upgrade to: not statedStated by: CVE record
- Packagist silverstripe/frameworkAffected: < 5.2.16Upgrade to: 5.2.16Stated by: GitHub advisory
Versions as the sources state them. Full version matrix after sign-in
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
1 source with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
0.3% chance of exploitation activity in the next 30 days, which ranks it in the 29th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 183 days before any public exploit.
- OpenVAS check added
- Public exploit / PoCsource: github-poc
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Scored 5.4 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality LowSome restricted information is disclosed, but limited in scope
- Integrity LowData modification is possible but limited in scope or consequence
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-chx7-9x8h-r5mg
- github.com/silverstripe/silverstripe-framework/commit/b8d20dc9d531550e06fd7da7a0eafa551922e2e1
- silverstripe.org/download/security-releases/cve-2024-32981
And 3 more references. See all after sign-in
Questions about CVE-2024-32981
- Is CVE-2024-32981 being exploited?
- Not confirmed. Public exploit code exists (1 source), but CVE-2024-32981 is not in CISA KEV. EPSS puts the chance of exploitation in the next 30 days at 0.3%.
- Which versions are affected by CVE-2024-32981?
- Silverstripe-framework: < 5.2.16. Silverstripe/framework: < 5.2.16.
- How do I fix or mitigate CVE-2024-32981?
- Upgrade to 5.2.16 or later. The advisory is on github.com.
Last updated
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Silverstripe-framework, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI