CVE-2025-55166
savg-sanitizer is a PHP SVG/XML sanitizer. Prior to version 0.22.0, the sanitization logic in the cleanXlinkHrefs method only searches for lower-case attribute name, which allows to by-pass the isHrefSafeValue check. As a result this allows cross-site scripting or linking to external domains. This issue has been patched in version 0.22.0.
Published:Aug 12, 2025
Last Modified:Apr 15, 2026
EPS:Aug 12, 2025
EPSS Score:0.00058
CVSS Score:5.1
Affected Products
Vendor
Product
Action
Vendor
Svg-sanitizer Project
Product
Svg-sanitizer
Svg-sanitizer Project
Svg-sanitizer
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
