PT-2026-108706
CVE-2026-107381
·
Published
2026-10-08
·
Updated
2026-10-18
Description by
CVSS 3.1
6.5
MediumMetricsAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
svg-sanitizer versions prior to 1.0.0
Description
An issue exists where the
Resolver::processReferences() function in src/ElementReference/Resolver.php builds the SVG <use> reference graph using a case-sensitive predicate for the href attribute. Because this occurs before the cleanHrefAttributes() function normalizes attribute names, an attacker can use mixed-case attributes such as xlink:HrEf on nested <use> elements. This causes the reference graph to omit these elements, bypassing the useNestingLimit protection. Subsequently, the sanitizer converts the mixed-case attribute back to the canonical xlink:href, returning a live nesting structure. A consuming application rendering the resulting SVG may experience resource exhaustion, leading to a Denial of Service (DoS).Recommendations
Update svg-sanitizer to version 1.0.0.
Found an issue in the description? Have something to add? Feel free to write us 👾