Medium · CVSS 6.5 · fetched 2026-10-22
## Summary A crafted SVG file (1009 bytes) crashes the PHP process when sanitized by `enshrined/svg-sanitize` (any version through 0.22.x). The sanitizer's `cleanAttributesOnWhitelist()` method calls `DOMElement::removeAttribute()` twice on the same attribute name — first removing the explicit attribute, then attempting to remove the DTD `#FIXED` default — triggering a PHP ext/dom type confusion that kills the PHP-FPM worker.
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 6.5. 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-v383-3rw5-q8rf