CVE-2026-53606
Published:June 12, 2026
Updated:June 29, 2026
ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. Versions of sanitize-html prior to 2.17.5 use "allowedSchemesAppliedToAttributes" (default: "['href', 'src', 'cite']") to gate the "naughtyHref()" function that blocks dangerous URI schemes like "javascript:" and "vbscript:". The HTML specification defines 10+ attributes that accept URIs ("action", "formaction", "data", "poster", "background", "ping", "xlink:href", "dynsrc", "lowsrc"), but none of these are included in the default gate list. When a developer allows any of these attributes in their configuration, "javascript:" URIs pass through completely unmodified, enabling XSS. Version 2.17.5 patches the issue.
Affected Packages
sanitize-html (CDN_JS):
Affected version(s) >=1.19.2 <2.17.5Fix Suggestion:
Update to version 2.17.5sanitize-html (NPM):
Affected version(s) >=0.1.0 <2.17.5Fix Suggestion:
Update to version 2.17.5Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.14