Skip to main content
← All vulnerabilities
CVE-2026-117541EUVD-2026-110806GHSA-82GX-99VW-X254

svg-sanitizer 0.11.0 before 1.1.0 Uncaught LogicException DoS via sanitize()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

The svg-sanitizer PHP library, used to clean SVG files before they are accepted or processed, is affected. An attacker can upload a well-formed XML file with a non-SVG root or a nested SVG element, which causes the sanitizer to throw an uncaught error instead of rejecting the file, potentially crashing the application or worker process.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

svg-sanitizer from 0.11.0 before 1.1.0 contains an uncaught exception vulnerability that allows attackers to crash callers by submitting well-formed XML without a top-level svg root. Attackers can supply documents with a non-svg root or nested svg element, causing Sanitizer::sanitize() to throw a LogicException instead of returning false, crashing workers or bypassing upload rejection.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  4. Record last updated

Affected versions

  • darylldoyle svg-sanitizer

    From 0.11.0 · fixed in 1.1.0

References 3

GitHub · darylldoyle/svg-sanitizer

vulncheck.com