CVE-2026-117541 Details
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.
A denial-of-service vulnerability has been identified in the svg-sanitizer library, specifically in versions 0.11.0 prior to 1.1.0. The issue arises within the 'Sanitizer::sanitize()' method, which fails to properly handle exceptions. When a well-formed XML document is submitted without a top-level 'svg' root, the sanitizer throws an uncaught 'LogicException'. This behavior crashes the calling process, such as a web server worker, instead of returning 'false' as expected. The vulnerability can be exploited by sending XML documents with non-'svg' root elements or nested 'svg' elements, bypassing the library's intended upload rejection.
Users are advised to upgrade to svg-sanitizer version 1.1.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 27, 2026CISA-ADP
Assessed Oct 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-248 | Uncaught Exception | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| enshrined/svg-sanitizer | >= 0.11.0, <= 1.0.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 27, 2026 | CVE Modified | CISA-ADP |
| Oct 27, 2026 | New CVE Received | [email protected] |
Volerion