Technical impact
svg‑sanitizer versions from 0.11.0 through 1.0.x contain a flaw in the reference‑graph analysis code. The hasInfiniteLoop() and countUse() functions perform exponential path enumeration when confronted with SVG files that use a large number of nested "use" elements. An attacker can supply a small SVG containing 15 levels of fanned‑out use references, causing PHP workers to enumerate an exponential number of paths and become fully occupied for hours. The impact is a denial of service to the application, reflected in the CVSS score of 8.7 and the CWE‑400 identifier for unbounded resource consumption.
Affected Systems
The affected product is the darylldoyle svg‑sanitizer library, specifically all releases from 0.11.0 up to but not including 1.1.0. Based on the product’s PHP implementation, it is likely used in PHP‑based web applications that render SVG content, but there is no explicit mention of specific frameworks in the CVE data.
Risk and Exploitability
The vulnerability has a high severity rating of 8.7 and is not listed in CISA’s KEV catalog. EPSS data is unavailable, so the historical exploitation probability is unknown. The likely attack vector is through the upload or inclusion of malicious SVG files; the attacker only needs the ability to place the SVG in a location processed by the library, such as a web upload form. No additional privileges or network access beyond normal user interaction are required. If exploited, the PHP worker threads will become saturated, effectively denying service to legitimate users until the workers recover or are restarted.