Uncaught Exception in svg-sanitizer Affects Software by Daryl Doyle
CVE-2026-117541
6.9MEDIUM
What is CVE-2026-117541?
The svg-sanitizer library, version 0.11.0 and prior, has a vulnerability that permits attackers to crash applications by utilizing well-formed XML files that lack a top-level svg root element. Submitting documents with either a non-svg root or nested svg elements can trigger a LogicException in the Sanitizer::sanitize() method, leading to application crashes or evasion of upload restrictions. Proper handling of such cases is crucial to maintaining the integrity and uptime of services relying on this library.
Affected Version(s)
svg-sanitizer 0.11.0 < 1.1.0
svg-sanitizer 1.1.0
