Back

MEDIUM

svg-sanitizer By-Passing Attribute Sanitization

Published Aug 12, 2025

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.

Affected products

Remediation

No remediation recorded yet.

References (8)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner GitHub_M
Published Aug 12, 2025
Updated Aug 12, 2025
Reserved Aug 7, 2025
CISA Vulnrichment
Updated Aug 12, 2025
NVD
Status Deferred
Modified Jun 17, 2026
Red Hat
Severity n/a
Public date n/a
ENISA EUVD
Assigner GitHub_M
Published Aug 12, 2025
Updated Aug 12, 2025
Exploited since n/a
EUVD-2025-24263 GHSA-22WQ-Q86M-83FH