cve.bz

CVE-2026-53606 apostrophecms sanitize-html: Cross-site Scripting

5.4 mediumEPSS 0.2%Fix available

Medium (5.4) in apostrophecms sanitize-html. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in sanitize-html 2.17.5.

On this page
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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 11th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-06-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-53606 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-53606?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-53606?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-53606 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
apostrophecms sanitize-html< 2.17.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vccv-cmxp-4j9hnpmsanitize-html>=1.18.0 <2.17.52.17.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSELinux Enterprise Module for Package Hub 15 SP7golang-github-prometheus-prometheus3.13.2-150100.4.40.2SUSE-SU-2026:4606-1
SUSEMulti Linux Manager Tools SLE-15golang-github-prometheus-prometheus3.13.2-150002.3.19.1SUSE-SU-2026:4585-1
SUSEMulti Linux Manager Tools SLE-15grafana12.4.10-150002.4.27.1SUSE-SU-2026:4585-1
SUSEMulti Linux Manager Tools SLE-15mgr-push5.2.5-150002.3.12.1SUSE-SU-2026:4585-1
SUSEMulti Linux Manager Tools SLE-15spacecmd5.2.10-150002.3.15.1SUSE-SU-2026:4585-1
SUSEMulti Linux Manager Tools SLE-15spacewalk-client-tools5.2.7-150002.3.12.1SUSE-SU-2026:4585-1
SUSEMulti Linux Manager Tools SLE-15, Multi Linux Manager Tools SLE-Micro-5uyuni-tools5.2.17-150002.3.20.1SUSE-SU-2026:4585-1
SUSEMulti Linux Manager Tools SLE-15, Multi Linux Manager Tools SLE-Micro-5venv-salt-minion3006.0-150002.5.22.1SUSE-SU-2026:4585-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate: A cross-site scripting (XSS) vulnerability in the `sanitize-html` library could allow remote attackers to execute arbitrary scripts. This flaw occurs when Red Hat products or applications explicitly configure `sanitize-html` to permit URI-accepting HTML attributes (e.g., `action`, `data`) that are not part of the default safe scheme validation list, thereby enabling the injection of malicious `javascript:` URIs.

Red Hat's mitigation

If upgrading is not possible, add non standard attributes (including `action`, `formaction`, `data`, `poster`, and `background`) to your `allowedSchemesAppliedToAttributes` configuration so the URI scheme filter covers them. You can also remove them from `allowedAttributes` if your application does not need them.

ProductPackageStateAdvisory
Multicluster Engine for Kubernetesmulticluster-engine/console-mce-rhel9Fix deferred
Network Observability Operatornetwork-observability/network-observability-console-plugin-rhel9Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/console-rhel9Fix deferred
Red Hat Developer Hub 1rhdh/rhdh-hub-rhel9Fix deferred
Red Hat Hardened Imagesopentelemetry-collectorNot affected
Red Hat Hardened Imagesopentelemetry-collector-contribNot affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-rhel9Fix deferred
Red Hat OpenShift Container Platform 4openshift3/ose-consoleFix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-agent-installer-ui-rhel9Fix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-consoleFix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-console-rhel9Fix deferred
Red Hat OpenShift Container Platform 5openshift5/ose-agent-installer-ui-rhel9Fix deferred
Red Hat OpenShift Container Platform 5openshift5/ose-console-rhel9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces/dashboard-rhel9Fix deferred
Red Hat OpenShift GitOpsopenshift-gitops-1/console-plugin-rhel8Fix deferred
Red Hat OpenShift Virtualization 4container-native-virtualization/kubevirt-console-plugin-rhel9Fix deferred
Red Hat Quay 3quay/quay-rhel8Fix deferred
Red Hat Quay 3quay/quay-rhel9Fix deferred
Red Hat Satellite 6nodejs-sanitize-htmlFix deferred
Red Hat Satellite 6satellite/iop-advisor-frontend-rhel9Fix deferred
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-53606.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON