Loading advisory.
Loading advisory.
Cross-site Scripting in enshrined/svg-sanitize
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.
Published 2022-02-14 21:10 UTC · Modified 2025-04-23 19:05 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| enshrined/svg-sanitize | Packagist | < 0.15.0 versions 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.10.0, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.14.0, 0.14.1, 0.2.0, 0.2.1, 0.3.0, 0.4.0 and 16 more | 0.15.0 | composer require 'enshrined/svg-sanitize:>=0.15.0' |
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.
This issue is fixed in 0.15.0 and higher.
There is currently no workaround available without upgrading.
If you have any questions or comments about this advisory:
Open an issue in Github
Email us at daryll@enshrined.co.uk
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.007 on 2026-11-24 to 0.007 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.007 | first score | v2026.06.15 |
| 2026-11-26 | 0.007 | 0.007 | v2026.06.15 |