THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-v383-3rw5-q8rf (medium) — enshrined/svg-sanitize: Denial of Service via DTD Attribute Declaration Crash

[GHSA] GHSA-v383-3rw5-q8rf (medium) — enshrined/svg-sanitize: Denial of Service via DTD Attribute Declaration Crash

highgithub_advisoriesPublished 2026-10-08

GHSA-v383-3rw5-q8rf Severity: medium CVE: CVE-2026-107379

enshrined/svg-sanitize: Denial of Service via DTD Attribute Declaration Crash

## 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 n

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-v383-3rw5-q8rf