enshrined/svg-sanitize
Affected
- introduced
0, fixed0.15.0(ecosystem)
Fixed versions
0.15.0
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2022-23638
Cross-site Scripting in enshrined/svg-sanitize
Impact
SVG sanitizer library before version 0.15.0 did not remove HTML elements wrapped in a CDATA section. As a result, SVG content embedded in HTML (fetched as text/html) was susceptible to cross-site scripting. Plain SVG files (fetched as image/svg+xml) were not affected.
Patches
This issue is fixed in 0.15.0 and higher.
Workarounds
There is currently no workaround available without upgrading.
For more information
If you have any questions or comments about this advisory:
Medium Basis: The source's own band: MODERATE
0, fixed 0.15.0 (ecosystem)0.15.0
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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0