CVE-2026-107380: darylldoyle svg-sanitizer · Cross-site Scripting
Affects darylldoyle svg-sanitizerSource CVE Database V5
Not known to be exploited · CVSS 5.4 Medium : upgrade to 1.0.0 when convenient.
Data as of 22 Nov 2026, 21:14 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.0.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Oct 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 22 Nov 2026.
What to do
Upgrade svg-sanitizer and darylldoyle/svg-sanitizer to 1.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| darylldoylesvg-sanitizer | Affected
| Fixed in
|
Packagistdarylldoyle/svg-sanitizerpkg:composer/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
Upgrade to svg-sanitizer version 1.0.0 or later, where this vulnerability is fixed.
Description
A cross-site scripting (XSS) vulnerability exists in darylldoyle svg-sanitizer versions prior to 1.0.0. The issue arises because the sanitizer validates SVG href attributes after XML DTD entity expansion but serializes the original entity reference without the DTD declaration. This discrepancy allows crafted entities to bypass validation and later be interpreted as JavaScript URLs during HTML5 rendering, enabling script execution in the embedding page's origin. The vulnerability is fixed in version 1.0.0.