Skip to content
CVE PROGRAM SOURCE RECORD2.3 Low

CVE-2026-145156

sanitize-html 2.17.7 before 2.18.2 XSS via SMIL attributeName Extra-Colon Bypass

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

apostrophecms sanitize-html

Default version status: unaffected

  • 2.17.7 to < 2.18.2affected
pkg:npm/sanitize-html

References