CVE-2026-145156
DESCRIPTION
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.
CVSS
LOW 2.3 · v4.0
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/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:XWEAKNESSES
REFERENCES
- https://github.com/apostrophecms/apostrophe/blob/sanitize-html%402.18.1/packages/sanitize-html/index.js#L1018-L1043
- https://github.com/apostrophecms/apostrophe/blob/sanitize-html%402.18.2/packages/sanitize-html/CHANGELOG.md
- https://github.com/apostrophecms/apostrophe/commit/bd727d101de798d574196173f3cbc4f9aaedb3f7
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-8g6g-w2rq-xcmc
- https://www.vulncheck.com/advisories/sanitize-html-2.17.7-before-2.18.2-xss-via-smil-attributename-extra-colon-bypass
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.