CVE-2025-55166 - CVE House
Back to Database
Status published Medium CVE-2025-55166

svg-sanitizer By-Passing Attribute Sanitization

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-55166

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

darylldoyle

View all reports →

Affected Software

svg-sanitizer
Vulnerable Versions:
< 0.22.0

Timeline

Official Publish: August 12th, 2025
Last Modified: August 12th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)