CVE-2026-117541 PUBLISHED

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

Assigner: VulnCheck
Reserved: 27.10.2026 Published: 27.10.2026 Updated: 27.10.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CVSS Score: 6.9

Product Status

Vendor darylldoyle
Product svg-sanitizer
Versions Default: unaffected
  • affected from 0.11.0 to 1.1.0 (excl.)
  • Version 1.1.0 is unaffected

Credits

  • AlpetGexha finder

References

Problem Types

  • Uncaught Exception CWE