svg-sanitizer denial of service in unclosed tag handling
darylldoyle svg-sanitizer
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| darylldoyle svg-sanitizer |
|
|
Original description
svg-sanitizer from 1.1.0 before 1.1.1 contains a denial of service vulnerability that allows remote attackers to crash requests by submitting SVG input ending inside an unclosed tag. Attackers can upload truncated input like a single '<' to trigger an uncaught ValueError from strpos() in hasElementWithTooManyAttributes() or hasInternalDtdSubset() on PHP 8, failing the request.
From the CVE record · VulnCheck