sanitize-html 2.17.7 before 2.18.2 contains a cross-site scripting vulnerability that allows attackers to bypass allowedSchemes by supplying SVG animation attributeName values with multiple colons. Attackers can submit markup like attributeName xlink:href:x with javascript: URLs in values, from, or to attributes, executing script when victims click the animated link.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-184"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145156.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "2.17.7"
},
{
"fixed": "2.18.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "bd727d101de798d574196173f3cbc4f9aaedb3f7"
}
],
"source": "REFERENCES_COMMIT"
}
]
}