Uncaught LogicException in svg-sanitizer sanitize() enables denial of service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-248.
Summary
svg-sanitizer from 0.11.0 before 1.1.0 contains an uncaught exception flaw in Sanitizer::sanitize(). Remote, unauthenticated attackers can submit well-formed XML without a top-level svg root, or with a nested svg element, causing the function to throw a LogicException instead of returning false. This crashes callers such as worker processes and can bypass upload rejection (CWE-248).
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| darylldoyle | svg-sanitizer | 0.11.0 to before 1.1.0 | 1.1.0 | Patch available | CNA |
- svg-sanitizer Vendordarylldoyle Affected 0.11.0 to before 1.1.0 Fixed in 1.1.0 Patch available CNA
Remediation
Upgrade svg-sanitizer to version 1.1.0.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
- Fix · CNA svg-sanitizer (darylldoyle) Fixed in 1.1.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
darylldoyle svg-sanitizer 1.1.0
2 records Highest priority Priority HIGH 1 HIGH, 1 LOW
Other records, highest priority first
- TI-2026-81116 Quadratic CPU exhaustion in svg-sanitizer PHP tag strippingPriority HIGH 77
Timeline
- 2026-10-27 Threatist record created from CVE-2026-117541
- 2026-10-27 CISA SSVC decision points changed
- 2026-10-27 Priority changed: MEDIUM → LOW
- 2026-10-27 Alias added: GHSA-82gx-99vw-x254
References
More darylldoyle vulnerabilities
- TI-2026-81116 Quadratic CPU exhaustion in svg-sanitizer PHP tag stripping CVSS 4.0HIGH 8.7
- TI-2026-84327 svg-sanitizer ReDoS and Fail-Open via image-set CSS Stripping CVSS 4.0HIGH 8.2
- TI-2026-74075 Mixed-case xlink:HrEf bypasses use nesting limit in svg-sanitizer CVSS 3.1MEDIUM 6.5
- TI-2026-69645 Denial of service in enshrined/svg-sanitize via crafted SVG DTD CVSS 3.1MEDIUM 6.5
- TI-2026-84328 Incomplete url() filtering in svg-sanitizer allows remote URL requests CVSS 4.0MEDIUM 5.3
- TI-2026-81115 darylldoyle svg-sanitizer CSS Injection and Remote Reference Bypass CVSS 4.0MEDIUM 5.1
Sources
- CVE-2026-117541 · CVE Program
- CVE-2026-117541 · NVD
- FIRST EPSS
- GHSA-82gx-99vw-x254 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences