{"id":"CVE-2026-107381","revision":"ad1cf467c85447e784b86fe99763e1f5","records":[{"revision":"ad1cf467c85447e784b86fe99763e1f5","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-107381","aliases":[],"title":"svg-sanitizer: Mixed-case xlink:HrEf skips the `<use>` nesting-DoS check in Resolver::processReferences","description":"svg-sanitizer is a PHP SVG/XML sanitizer. Prior to 1.0.0, Resolver::processReferences() in src/ElementReference/Resolver.php builds the SVG <use> reference graph with a case-sensitive href attribute predicate before cleanHrefAttributes() normalizes mixed-case names. An attacker can provide xlink:HrEf on nested <use> elements so the graph omits those references, after which the sanitizer converts the attribute to canonical xlink:href and returns the live nesting structure without applying the useNestingLimit protection. A consuming application that renders the sanitized SVG can therefore be exposed to the resource exhaustion that control is designed to prevent. This issue is fixed in version 1.0.0.","state":0,"publishedAt":"2026-10-14T14:53:40.415+00:00","modifiedAt":"2026-10-18T13:36:27.865+00:00","affected":[{"ecosystem":"Vendor product","name":"svg-sanitizer","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"darylldoyle\",\n                    \"product\": \"svg-sanitizer\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.0.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-m9xh-6747-9r6f","https://github.com/darylldoyle/svg-sanitizer/commit/2dff6628314de8519155b7feb218bbe132785757","https://github.com/darylldoyle/svg-sanitizer/releases/tag/1.0.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-107381","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-107381","identifiers":["CVE-2026-107381"]},"retained":false,"historicalAffected":[]}],"coverage":[]}