darylldoyle svg-sanitizer from 1.0.0 before 1.1.0 contains a regular expression denial of service vulnerability in the
Affects svg-sanitizerSource GCVE Database
Not known to be exploited · CVSS 8.2 High.
Data as of 3 Nov 2026, 16:15 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.2 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.9 |
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmdarylldoyle/svg-sanitizerpkg:npm/darylldoyle/svg-sanitizerOther threats | Affected– | Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, users should consider disabling the removeRemoteReferences option or avoid processing untrusted SVG content with this sanitizer version. Monitor official sources for updates and apply patches once released.
Description
The darylldoyle svg-sanitizer library versions from 1.0.0 up to but not including 1.1.0 contain a regular expression denial of service (ReDoS) vulnerability. This flaw exists in the image-set pattern of the stripRemoteCssTokens() function when the removeRemoteReferences option is enabled. An attacker can craft SVG files with many unclosed image-set tokens to exhaust CPU resources or trigger PCRE limits, causing the sanitize() function to throw a TypeError and potentially leave unsanitized content.