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
References
History
Mon, 02 Nov 2026 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
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
|
Status: PUBLISHED
Assigner: VulnCheck
Published: 2026-10-27T10:59:34.119Z
Updated: 2026-11-02T19:11:08.157Z
Reserved: 2026-10-27T10:33:39.046Z
Link: CVE-2026-117540
Updated: 2026-11-02T19:11:03.783Z
Status : Deferred
Published: 2026-10-27T11:17:34.833
Modified: 2026-11-02T19:18:01.290
Link: CVE-2026-117540
No data.