Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-121445 EUVD-2026-115867GHSA-4rvh-48q4-5726

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

Published Nov 3, 2026 · Updated Nov 3, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
darylldoyle svg-sanitizer 1.0.0 – < 1.1.0 1.1.0

References