CVE-2026-53606
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
sanitize-htmlnpm | >= 1.18.0, < 2.17.5 | 2.17.5 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-vccv-cmxp-4j9hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-53606ghsaADVISORY
- github.com/apostrophecms/apostrophe/commit/5a88e9630cbbdde33154ef8abe7557ddf7be418bghsaWEB
- github.com/apostrophecms/apostrophe/pull/5464ghsaWEB
- github.com/apostrophecms/apostrophe/releases/tag/[email protected]ghsaWEB
- github.com/apostrophecms/apostrophe/security/advisories/GHSA-vccv-cmxp-4j9hnvdWEB
News mentions
0No linked articles in our index yet.