CVE-2026-117541: svg-sanitizer 0.11.0 before 1.1.0 Uncaught LogicException DoS via sanitize()

Published Oct 27, 2026
·
Updated

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.

Affected Software

0 affected components

Event History

Oct 27, 2026
CVE Published
via MITRE·10:59 AM
Data Sourced
via MITRE·10:59 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this denial-of-service issue?

Applications using svg-sanitizer versions from 0.11.0 up to, but not including, 1.1.0 are affected if untrusted users can submit XML documents to Sanitizer::sanitize().

2

What input is needed to trigger the failure?

An attacker can submit well-formed XML that lacks a top-level svg root, including a document with a non-svg root element or a nested svg element. No authentication or user interaction is required according to the supplied vector.

3

What is the practical impact on an application?

Sanitizer::sanitize() throws an uncaught LogicException rather than returning false. This can crash the calling worker or cause the application to bypass its intended upload-rejection handling.

4

How can I determine whether my application is affected?

Check whether it uses an affected svg-sanitizer version and whether sanitize() is called on attacker-controlled uploads or XML. Test the caller's error handling with well-formed XML whose root is not svg, or with an svg element nested beneath another root.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203