CVE-2020-9311 — cms
MEDIUMCVE-2020-9311 is a medium-severity (CVSS 5.4) Cross-site Scripting (XSS) vulnerability in silverstripe/cms. A fix is available for silverstripe/cms — see the affected versions and patch details below.
Silverstripe CMS XSS Vulnerability
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
silverstripe/cms🐘silverstripe/frameworkReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
In SilverStripe through 4.5, malicious users with a valid Silverstripe CMS login (usually CMS access) can craft profile information which can lead to XSS for other users through specially crafted login form URLs.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | silverstripe/cms | all versions | No fix |
| 🐘Packagist | silverstripe/framework | ≥ 3.0.0&&< 3.7.5 | 3.7.5composer require silverstripe/framework:^3.7.5 |
Affected Products
silverstripesilverstripeDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for silverstripe/cms, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
A fix is available for CVE-2020-9311; check the affected-versions list above or the advisory for the patched release of silverstripe/cms, then make sure no transitive dependency still pins the vulnerable range.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is CVE-2020-9311 in your dependencies?
Find it across Packagist, including transitive dependencies.