Denial of Service Vulnerability in svg-sanitizer by Daryll Doyle
CVE-2026-117540

8.7HIGH

Key Information:

Vendor
CVE Published:
27 October 2026

What is CVE-2026-117540?

The svg-sanitizer, maintained by Daryll Doyle, is susceptible to a denial of service vulnerability due to inefficient PHP tag handling in the Sanitizer::sanitize() function. Attackers can exploit this flaw by uploading specially crafted SVG files with overlapping PHP tag openings and closures. This leads to extensive CPU resource exhaustion as the system engages in repeated rescans and replacements, causing significant delays and potential service interruptions. It is crucial for users to update to version 1.1.0 or later to mitigate this issue.

Affected Version(s)

svg-sanitizer 0.5.3 < 1.1.0

svg-sanitizer 1.1.0

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

AlpetGexha
.