CVE-2026-53606apostrophecms sanitize-html
Medium 5.4
Follow: this CVE · apostrophecms · apostrophecms sanitize-html We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- —
- Auth required
- Yes
- Published
- Jun 12, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for sanitize-html.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | sanitize-html |
≥ 1.18.0 < 2.17.5 |
2.17.5 |
npm install sanitize-html@2.17.5 |
Per OSV / GitHub Advisories (GHSA-vccv-cmxp-4j9h). Check the version in your lockfile before upgrading.
Affected products
- apostrophecms · sanitize-html
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update 5.1.6 for Multi-Linux Manager Server · SUSE · SUSE-SU-2026:5436-1 · Nov 25, 2026 Critical
- Security update for golang-github-prometheus-prometheus · SUSE · SUSE-SU-2026:4606-1 · Oct 9, 2026 Critical
- Security update 5.2.1 for Multi-Linux Manager Client Tools · SUSE · SUSE-SU-2026:4585-1 · Oct 8, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.