CVE-2026-117541

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

State
Published
Severity
6.9 Medium
Published
Oct 27, 2026
Updated
Oct 27, 2026
Reserved
Oct 27, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NVulnCheck
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LVulnCheck

Weaknesses

Affected Products

ProductVersions
svg-sanitizerdarylldoyle
  • 0.11.0 to before 1.1.0Affected
  • 1.1.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.