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
02 Nov 2026, 19:18
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-2v7c-jx29-jprp - |
27 Oct 2026, 11:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-27 11:17
Updated : 2026-11-02 19:18
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
