Advisory

GHSA-3vjc-5x79-m9r8

Also known as: BIT-silverstripe-2020-25817, CVE-2020-25817

Summary

SilverStripe XXE Vulnerability in CSSContentParser

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 19:04 UTC
Modified
2024-04-25 21:26 UTC

Affected packages and fixes

silverstripe/framework

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.7.4 (ecosystem)

Fixed versions

4.7.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences