cvelo
P3 · MediumCVSS 5.9EPSS 0.4%

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

  • CVE-2026-121445
  • GHSA-4rvh-48q4-5726
  • EUVD-2026-115867

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.

Text from the CVE.org record.

Recommendation

  • darylldoyle svg-sanitizer

    • If you run a version from 1.0.0 to before 1.1.0update to 1.1.0 or laterMinor version change: check the release notes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • darylldoyle svg-sanitizer

    Affected versionsFixed in
    from 1.0.0 to before 1.1.01.1.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.