Security fix · CVE-2025-55166
savg-sanitizer is a PHP SVG/XML sanitizer.
Published Aug 12, 2025 · catalog updated Aug 12, 2025 · savg-sanitizer is a PHP
Check this week
CVE-2025-55166 is not in CISA KEV. FIRST estimates a 45.00% chance of exploitation in the next 30 days. Check whether you run savg-sanitizer is a PHP.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (savg-sanitizer is a PHP).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Medium5.1
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 45.00%
- Remediation
- Version ranges on file
- Affected products
- vendor darylldoyle svg-sanitizer < 0.22.0
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor darylldoyle svg-sanitizer < 0.22.0< 0.22.0
How to fix CVE-2025-55166
Recommended remediation
Affected version ranges suggest a fixed boundary. Verify against the vendor advisory for your release.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2025-55166 is not in CISA KEV. FIRST estimates a 45.00% chance of exploitation in the next 30 days. Check whether you run savg-sanitizer is a PHP.
Which versions are affected?
Compare what you have installed with darylldoyle svg-sanitizer < 0.22.0 < 0.22.0. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 45.00%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Aug 12, 2025 · EUVD
Detected
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.
Aug 12, 2025 · EUVD
Updated
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.
Sources
- CVE.orgVulnerability recordCVE-2025-55166
Official CVE identifier
cve.org - EUVDVulnerability recordEUVD-2025-24263
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 exte
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog Aug 12, 2025. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.