Composer enshrined/svg-sanitize has 7 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.
| CVE | Title | Severity | CVSS | Affected | Fixed in |
|---|---|---|---|---|---|
| CVE-2019-18857 | XSS in enshrined/svg-sanitize due to mishandled script and data values in attributes | high | 7.5 | <0.12.0 | 0.12.0 |
| CVE-2019-10772 | Sanitizer bypass in svg-sanitizer | medium | 6.1 | <0.13.1 | 0.13.1 |
| CVE-2022-23638 | Cross-site Scripting in enshrined/svg-sanitize | medium | 6.2 | <0.15.0 | 0.15.0 |
| CVE-2025-55166 | svg-sanitizer Bypasses Attribute Sanitization | medium | 0.0 | <0.22.0 | 0.22.0 |
| CVE-2026-107379 | enshrined/svg-sanitize: Denial of Service via DTD Attribute Declaration Crash | medium | 6.5 | <1.0.0 | 1.0.0 |
| CVE-2026-107381 | svg-sanitizer: Mixed-case xlink:HrEf skips the `<use>` nesting-DoS check in Resolver::processReferences | medium | 6.5 | <1.0.0 | 1.0.0 |
| CVE-2026-107380 | enshrined/svg-sanitize: Stored XSS via DTD Entity / HTML5 Named Character Reference Collision | medium | 5.4 | <1.0.0 | 1.0.0 |
Is enshrined/svg-sanitize safe to use?
Version 1.0.0 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.
Is enshrined/svg-sanitize being actively exploited?
None of its 7 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.
How do I check my own site?
Run `phpwarden deps composer.lock`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.
Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.
# PHP projects (recommended) composer require --dev phpwarden/phpwarden # then vendor/bin/phpwarden deps composer.lock # or, without Composer pipx install phpwarden && phpwarden deps composer.lock
Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command
Install docs How findings are rankedMaintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.
[](https://phpwarden.io/packages/enshrined/svg-sanitize)