MediumGHSA-3vjc-5x79-m9r8
SilverStripe XXE Vulnerability in CSSContentParser
Affected versions
4.0.0 to before 4.7.4 - fixed in 4.7.4Details
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]).
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-25817
- https://nvd.nist.gov/vuln/detail/CVE-2020-25817
- https://forum.silverstripe.org/c/releases
- https://github.com/silverstripe/silverstripe-framework
- https://www.silverstripe.org/blog/tag/release
- https://www.silverstripe.org/download/security-releases
- https://www.silverstripe.org/download/security-releases/cve-2021-25817
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected