XXE in Silverstripe

CVE-2020-25817

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]).

Vulnerability class: XXE (XML External Entity)

EPSS: 0.008 (53.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-25817?
CVE-2020-25817 is a medium-severity vulnerability in Silverstripe, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 4.8/10. Published 2021-06-08.
How severe is CVE-2020-25817?
Medium severity. CVSS v3 base score is 4.8 out of 10.