Medium · CVSS 5.4 · fetched 2026-10-22
## Summary A crafted SVG bypasses `enshrined/svg-sanitize`'s href validation and delivers a `javascript:` URL through the sanitizer unchanged. The bypass exploits a semantic mismatch between XML entity resolution (used during sanitization) and HTML5 Named Character Reference resolution (used by the browser when the SVG is rendered inline). **This is a logic bug in svg-sanitize.
The source advisory enumerates the affected branches directly:
Not KEV-listed in this record. In the source data for this record (retrieved 2026-10-22), the vulnerability was not listed in the CISA Known Exploited Vulnerabilities catalog. Read that narrowly: it means no catalogued exploitation at retrieval time, not that exploitation is impossible or unreported elsewhere.
Patch in the next regular maintenance cycle. The drivers for this record: the source rates it Medium; CVSS 5.4. No emergency handling is indicated by this record; schedule it, and re-check sooner if its KEV or severity status changes.
How this verdict is derived: from the fields on this page — the source advisory's severity and CVSS score, CISA KEV listing status and the affected-branch data — as retrieved 2026-10-22. It is a triage aid, not a substitute for the source advisory.
Upgrade enshrined/svg-sanitize to 1.0.0 or later.
PHP 8.3 — fixed in 8.3.36 (patched release available)
Source: GitHub Global Security Advisories (Composer ecosystem) · retrieved 2026-10-22T10:19:14-04:00 · https://github.com/advisories/GHSA-9rjx-3jch-6vjf