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.
CVSS

No CVSS.

Configurations

No configuration.

History

12 Aug 2025, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-12 17:15

Updated : 2025-08-12 17:15


NVD link : CVE-2025-55166

Mitre link : CVE-2025-55166


JSON object : View

Products Affected

No product.

CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-601

URL Redirection to Untrusted Site ('Open Redirect')