Algorithmic Complexity Denial of Service in svg-sanitizer by Daryll Doyle
CVE-2026-121444
8.7HIGH
What is CVE-2026-121444?
The svg-sanitizer, specifically versions 0.11.0 and earlier, has a vulnerability allowing attackers to exploit the hasInfiniteLoop() and countUse() functions. By uploading a carefully crafted SVG with multiple layers (up to 15 levels deep) of usage references, an attacker can induce excessive path enumeration that can overwhelm PHP workers and severely disrupt service availability. This vulnerability highlights the need for improved handling of complex SVG structures to mitigate potential denial of service attacks.
Affected Version(s)
svg-sanitizer 0.11.0 < 1.1.0
svg-sanitizer 1.1.0
