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.
Metrics
Affected Vendors & Products
References
History
Tue, 12 Aug 2025 20:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Svg-sanitizer Project
Svg-sanitizer Project svg-sanitizer |
|
Vendors & Products |
Svg-sanitizer Project
Svg-sanitizer Project svg-sanitizer |
Tue, 12 Aug 2025 18:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Tue, 12 Aug 2025 16:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | svg-sanitizer By-Passing Attribute Sanitization | |
Weaknesses | CWE-601 CWE-79 |
|
References |
| |
Metrics |
cvssV4_0
|

Status: PUBLISHED
Assigner: GitHub_M
Published: 2025-08-12T16:25:17.220Z
Updated: 2025-08-12T17:48:05.000Z
Reserved: 2025-08-07T18:27:23.307Z
Link: CVE-2025-55166

Updated: 2025-08-12T17:47:55.276Z

Status : Awaiting Analysis
Published: 2025-08-12T17:15:39.667
Modified: 2025-08-13T17:34:12.350
Link: CVE-2025-55166

No data.