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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Tue, 27 Oct 2026 11:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | svg-sanitizer before 1.1.0 Quadratic CPU-Exhaustion DoS via PHP-Tag Stripping Loop | |
| First Time appeared |
Svg-sanitizer Project
Svg-sanitizer Project svg-sanitizer |
|
| Weaknesses | CWE-407 | |
| CPEs | cpe:2.3:a:svg-sanitizer_project:svg-sanitizer:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Svg-sanitizer Project
Svg-sanitizer Project svg-sanitizer |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-10-27T10:59:34.119Z
Reserved: 2026-10-27T10:33:39.046Z
Link: CVE-2026-117540
No data.
Status : Deferred
Published: 2026-10-27T11:17:34.833
Modified: 2026-10-27T11:17:34.953
Link: CVE-2026-117540
No data.
OpenCVE Enrichment
Updated: 2026-10-27T12:30:02Z
Weaknesses