CVE-2026-121445 PUBLISHED

svg-sanitizer 1.0.0 before 1.1.0 ReDoS and Fail-Open via image-set CSS Stripping

Assigner: VulnCheck
Reserved: 03.11.2026 Published: 03.11.2026 Updated: 03.11.2026

darylldoyle svg-sanitizer from 1.0.0 before 1.1.0 contains a regular expression denial of service vulnerability in the image-set pattern of stripRemoteCssTokens() when removeRemoteReferences is enabled. Attackers can submit SVGs with many unclosed image-set tokens to exhaust CPU, or trigger PCRE limits causing sanitize() to throw a TypeError and leave unsanitized content.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.2

Product Status

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

References

Problem Types

  • Improper Check for Unusual or Exceptional Conditions CWE