CVE-2020-25817Silverstripe
Medium 4.8
Follow: this CVE · Silverstripe · Silverstripe We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.8
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 58
- Auth required
- Yes
- Published
- Jun 8, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-611
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
What happens
SilverStripe through 4.6.0-rc1 has an XXE Vulnerability in CSSContentParser. A developer utility meant for parsing HTML within unit tests can be vulnerable to XML External Entity (XXE) attacks. When this developer utility is misused for purposes involving external or user submitted data in custom project code, it can lead to vulnerabilities such as XSS on HTML output rendered through this custom code. This is now mitigated by disabling external entities during parsing. (The correct CVE ID year is 2020 [CVE-2020-25817, not CVE-2021-25817]).
What to do
- Apply the vendor's security update for Silverstripe.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | silverstripe/framework |
≥ 4.0.0 < 4.7.4 |
4.7.4 |
composer require "silverstripe/framework:^4.7.4" |
Per OSV / GitHub Advisories (GHSA-3vjc-5x79-m9r8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| silverstripe | silverstripe | < 4.6.0 |
| silverstripe | silverstripe | 4.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- forum.silverstripe.org Release Notes Vendor Advisory
- www.silverstripe.org Release Notes Vendor Advisory
- www.silverstripe.org Vendor Advisory
- www.silverstripe.org Broken Link