Vulnerability

CVE-2025-55166

mediumCVSS 4.0 5.1Published 12 Aug 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /darylldoyle/svg-sanitizer/commit/5a0a1eaf0c6b0b540dc945fe3…
  • github.com /darylldoyle/svg-sanitizer/security/advisories/GHSA-22wq-q8…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning