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.
References
Configurations
No configuration.
History
27 Oct 2026, 11:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-27 11:17
Updated : 2026-10-27 11:17
NVD link : CVE-2026-117540
Mitre link : CVE-2026-117540
CVE.ORG link : CVE-2026-117540
JSON object : View
Products Affected
No product.
CWE
CWE-407
Inefficient Algorithmic Complexity
