GHSA-5fhv-8j9p-2v94HighCVSS 7.5

svg-sanitizer from 0.5.3 before 1.1.0 contains a denial of service vulnerability in Sanitizer:...

Published
October 27, 2026
Last Modified
October 27, 2026

🔗 CVE IDs covered (1)

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

🔗 References (5)