# CVE-2026-107379: enshrined/svg-sanitize: Denial of Service via DTD Attribute Declaration Crash

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-08T18:04:42.293Z
- Modified: 2026-10-09T12:17:08.270Z
- Also known as: GHSA-v383-3rw5-q8rf
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

savg-sanitizer is a PHP SVG/XML sanitizer. Prior to 1.0.0, svg-sanitizer allows a crafted SVG DTD with a #FIXED attribute default to make cleanAttributesOnWhitelist() perform a double DOMElement::removeAttribute() call on the same attribute name in src/Sanitizer.php. The first removal deletes the explicit attribute, while the DTD default rematerializes the value before the href safety path performs the second removal, which can corrupt libxml state and terminate the PHP worker. An attacker who can submit SVG content to a sanitization endpoint can repeatedly interrupt workers and degrade or exhaust application availability. This issue is fixed in version 1.0.0.

(As written by CVE List.)

## Affected

- darylldoyle svg-sanitizer: < 1.0.0
- enshrined/svg-sanitize (Packagist): before 1.0.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-v383-3rw5-q8rf> (exploit, web)
- <https://github.com/darylldoyle/svg-sanitizer/commit/23877db7e76f1e1df5c3e65ab30239219c3d2867> (web)
- <https://github.com/darylldoyle/svg-sanitizer/releases/tag/1.0.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-107379> (advisory)
- <https://github.com/darylldoyle/svg-sanitizer> (package)

## Sources

- CVE List: [CVE-2026-107379](https://www.cve.org/CVERecord?id=CVE-2026-107379), CVE Terms of Use, modified 2026-10-09
- GitHub Advisory Database: [GHSA-v383-3rw5-q8rf](https://github.com/advisories/GHSA-v383-3rw5-q8rf), CC-BY-4.0, modified 2026-10-08
- NVD: [CVE-2026-107379](https://nvd.nist.gov/vuln/detail/CVE-2026-107379), Public domain, modified 2026-10-09

---

Page: https://cve.day/CVE-2026-107379 · Whole record: https://cve.day/CVE-2026-107379.json · Rebuilt by cve.day 2026-11-25T22:59:43.200Z
