Technical impact
svg-sanitizer releases 1.1.0 through 1.1.0 prior to 1.1.1 contain a flaw that allows remote attackers to crash requests by submitting SVG data with an unclosed tag. The sanitizer's internal functions hasElementWithTooManyAttributes() or hasInternalDtdSubset() trigger an uncaught ValueError on PHP 8 when encountering a lone '<', terminating the request and causing a denial of service. This weakness is an example of improper input validation (CWE-248).
Affected Systems
The vulnerability is found in the darylldoyle svg-sanitizer package. Versions older than 1.1.1, specifically 1.1.0 and prior, are affected. All systems that use these versions of svg-sanitizer to process external SVG files are potentially impacted. The vulnerability is tied to the PHP implementation of the package.
Risk and Exploitability
The CVSS score of 6.9 indicates a moderate severity. The EPSS score is not available, so the current exploitation probability is unknown, but the vulnerability is not listed in the CISA KEV catalog. Attackers can trigger the flaw remotely by submitting a malformed SVG to any endpoint that processes SVG input, without needing authentication or elevated privileges. Because the failure surfaces as a request crash on the application side, the impact is limited to service availability for the affected component, though repeated exploitation could degrade overall system availability.