CVE-2026-117540
svg-sanitizer from 0.5.3 before 1.1.0 contains a denial of service vulnerability in Sanitizer::sanitize() that repeatedly rescans the whole input while stripping PHP tags. Unauthenticated attackers can upload SVGs with many overlapping PHP tag openers and closers, forcing quadratic preg_replace passes that exhaust worker CPU for minutes.
Published:Oct 27, 2026
Last Modified:Nov 2, 2026
EPS:Oct 27, 2026
EPSS Score:0.00354
CVSS Score:7.5
Affected Products
Vendor
Product
Action
Vendor
Svg-sanitizer Project
Product
Svg-sanitizer
Svg-sanitizer Project
Svg-sanitizer
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
No CAPEC recorded yet
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
