svg-sanitizer 0.11.0 before 1.1.0 Uncaught LogicException DoS via sanitize()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.1.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- darylldoyle svg-sanitizer
From 0.11.0 · fixed in 1.1.0