CVE-2026-53606
published medium CVSS 3.1 · 5.4sanitize-html has an incomplete URI scheme validation that allows javascript: URIs through action, formaction, data, poster, and background attributes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| apostrophecms | — | sanitize-html< 2.17.5 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | prometheus | Fixed | 3.5.5-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-prometheusaarch64 | Advisory build | 3.13.2-150100.4.40.2 | SUSE-SU-2026:4606-1 |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-prometheusppc64le | Advisory build | 3.13.2-150100.4.40.2 | SUSE-SU-2026:4606-1 |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-prometheuss390x | Advisory build | 3.13.2-150100.4.40.2 | SUSE-SU-2026:4606-1 |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-prometheusx86_64 | Advisory build | 3.13.2-150100.4.40.2 | SUSE-SU-2026:4606-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| apostrophecms | sanitize-html | < 2.17.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
1Provider assertions
2GitHub_M · cna
sanitize-html has an incomplete URI scheme validation that allows javascript: URIs through action, formaction, data, poster, and background attributes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9d3aa42c59a229903188787f07b7b1415821b77679493051de51e73a4b3c4e6f
- Ingested
- 23 Sep 2026, 09:19:58 UTC
- Source record
- Official CVE record