5.3Medium

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

darylldoyle svg-sanitizer Published: (21 days ago)

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.

Weakness (CWE): CWE-248

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
darylldoyle svg-sanitizer 0.11.0 – < 1.1.0, fixed 1.1.0
svg-sanitizer project svg-sanitizer 0.11.0 – < 1.1.0

References and patches