CVE-2026-117540: darylldoyle svg-sanitizer · Inefficient Algorithmic Complexity
Affects darylldoyle svg-sanitizerSource CVE Database V5
Not known to be exploited · CVSS 8.7 High : upgrade to 1.1.0 soon.
Data as of 27 Oct 2026, 11:27 UTC
- Patch
- Available – fixed in 1.1.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Upgrade darylldoyle svg-sanitizer to 1.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| darylldoylesvg-sanitizer | Affected
| Fixed in
|
AI-suggested
Upgrade to svg-sanitizer version 1.1.0 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated in the available data.
Description
A denial of service vulnerability exists in darylldoyle svg-sanitizer versions from 0.5.3 up to but not including 1.1.0. The issue occurs in the Sanitizer::sanitize() function, which repeatedly rescans the entire input while stripping PHP tags. This inefficient algorithmic complexity allows unauthenticated attackers to craft SVG files with many overlapping PHP tag openers and closers, causing excessive CPU usage and service disruption.
References
- github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-2v7c-jx29-jprp (opens in a new tab)
- github.com/darylldoyle/svg-sanitizer/commit/9ba9001493f5da737759303f13bd965ebdaa778c (opens in a new tab)
- vulncheck.com/advisories/svg-sanitizer-before-1.1.0-quadratic-cpu-exhaustion-dos-via-php-tag-stripping-loop (opens in a new tab)