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.
History

Mon, 02 Nov 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

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

cve-icon Vulnrichment

Updated: 2026-11-02T19:11:03.783Z

cve-icon NVD

Status : Deferred

Published: 2026-10-27T11:17:34.833

Modified: 2026-11-02T19:18:01.290

Link: CVE-2026-117540

cve-icon Redhat

No data.