Packagist (PHP)Worst: High8 advisories
enshrined/svg-sanitize: known vulnerabilities
enshrined/svg-sanitize has 8 reviewed security advisories in the GitHub Advisory Database — 1 high, 7 moderate. The most recent was published 2026-10-08. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the enshrined/svg-sanitize versions running across your servers, containers and images, and ranks what to patch first.
How to fix enshrined/svg-sanitize
Upgrade enshrined/svg-sanitize to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):
composer require enshrined/svg-sanitize:^1.0.0 (composer audit)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (8)
enshrined/svg-sanitize: Stored XSS via DTD Entity / HTML5 Named Character Reference Collision
Moderate 5.4 CWE-79
— Affected: before 1.0.0. Fixed in 1.0.0. Published 2026-10-08. GHSA-9rjx-3jch-6vjf · CVE-2026-107380
svg-sanitizer: Mixed-case xlink:HrEf skips the `<use>` nesting-DoS check in Resolver::processReferences
Moderate 6.5 CWE-178 CWE-400
— Affected: before 1.0.0. Fixed in 1.0.0. Published 2026-10-08. GHSA-m9xh-6747-9r6f · CVE-2026-107381
enshrined/svg-sanitize: Denial of Service via DTD Attribute Declaration Crash
Moderate 6.5 CWE-770
— Affected: before 1.0.0. Fixed in 1.0.0. Published 2026-10-08. GHSA-v383-3rw5-q8rf · CVE-2026-107379
svg-sanitizer Bypasses Attribute Sanitization
Moderate CWE-601 CWE-79
— Affected: before 0.22.0. Fixed in 0.22.0. Published 2025-08-12. GHSA-22wq-q86m-83fh · CVE-2025-55166
svg-sanitizer has Cross-site Scripting Bypass
Moderate 5.3 CWE-79
— Affected: before 0.16.0. Fixed in 0.16.0. Published 2023-03-20. GHSA-xrqq-wqh4-5hg2 · CVE-2023-28426
Cross-site Scripting in enshrined/svg-sanitize
Moderate 6.2 CWE-79
— Affected: before 0.15.0. Fixed in 0.15.0. Published 2022-02-14. GHSA-fqx8-v33p-4qcc · CVE-2022-23638
Sanitizer bypass in svg-sanitizer
Moderate 6.1 CWE-79
— Affected: before 0.13.1. Fixed in 0.13.1. Published 2020-02-27. GHSA-8rc5-hx3v-2jg7 · CVE-2019-10772
XSS in enshrined/svg-sanitize due to mishandled script and data values in attributes
High 7.5 CWE-79
— Affected: before 0.12.0. Fixed in 0.12.0. Published 2020-01-08. GHSA-gf8j-v8x5-h9qp · CVE-2019-18857
Find enshrined/svg-sanitize across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.