{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-55166","published":"2025-08-12T17:15:39.667000Z","last_modified":"2026-06-17T09:41:23.383000Z","status":"Deferred","cvss":{"version":"4.0","score":5.1,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-79","CWE-601"],"cpes":[],"cpes_truncated":false,"vendors":["darylldoyle"],"products":["darylldoyle/svg-sanitizer"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-22wq-q86m-83fh","ecosystem":"Packagist","name":"enshrined/svg-sanitize","purl":"pkg:composer/enshrined/svg-sanitize","ranges":[{"introduced":"0","fixed":"0.22.0"}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.10.0","0.11.0","0.12.0","0.13.0","0.13.1","0.13.2","0.13.3","0.14.0","0.14.1","0.15.0","0.15.1","0.15.2","0.15.3","0.15.4","0.16.0","0.17.0","0.18.0","0.19.0","0.2.0","0.2.1","0.20.0","0.21.0","0.3.0","0.4.0","0.4.1","0.5.0","0.5.1","0.5.2","0.5.3","0.5.3.1","0.6.0","0.7.0","0.7.1","0.7.2","0.8.0","0.8.1","0.8.2","0.9.0","0.9.1","0.9.2"],"versions_truncated":false}],"severity":"medium","priority_score":46,"links":{"html_es":"/es/cve/CVE-2025-55166/","html_en":"/en/cve/CVE-2025-55166/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-55166","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-55166"},"untrusted":{"vendor_name":"darylldoyle","product_name":"svg-sanitizer","desc_en":"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":[{"untrusted_vendor":"darylldoyle","untrusted_product":"svg-sanitizer","versions":[]}],"references":[{"url":"https://github.com/darylldoyle/svg-sanitizer/commit/5a0a1eaf0c6b0b540dc945fe30c93cf106b357c1","tags":[]},{"url":"https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-22wq-q86m-83fh","tags":[]}]}}