svg-sanitizer is a PHP SVG/XML sanitizer.
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 exp
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Canonical
- Product
- canonical
- CVSS
- 6.5
Why it ranks 3 (Routine)
- CVSS 6.5 medium
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.