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.
CVE-2026-145156
CVSS base score
4.7 (v3.1)
Severity
MEDIUM
Attack vector
Network
Weakness
CWE-184
Last modified
December 4, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N