CVE-2026-121445

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

High published · updated

8.2
CVSS score out of 10 · NVD (vulncheck.com)

Description

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
svg-sanitizer darylldoyle 1.0.0 → <1.1.01.1.0 CVE.org

References