Description
ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. Prior to sanitize-html 2.18.0, a non-default configuration that allows meta refresh elements and their http-equiv and content attributes can retain unsafe script or redirect destinations embedded in the refresh content value. This issue is fixed in sanitize-html 2.18.0.
Published: 2026-10-20
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross-Site Scripting via meta‑refresh elements
Action: Patch
AI Analysis

Impact

This vulnerability occurs in the sanitize-html library that ships with ApostropheCMS. Versions prior to 2.18.0 allow the meta element with http-equiv=refresh and its content attribute to contain unsafe patterns such as javascript: or data: URLs. Because the library does not strip or neutralize these schemes, an attacker can cause the browser to execute arbitrary JavaScript or perform unintended redirects when the page is rendered. The flaw is a classic stored or reflected cross‑site scripting weakness, classified as CWE‑79.

Affected Systems

ApostropheCMS users including the main CMS application and the independent sanitize-html package are affected. The vulnerability exists in any instance that includes sanitize‑html earlier than version 2.18.0, which is released in the 2.x series. The fix is included in sanitize‑html 2.18.0 and later, as indicated in the commit history and release notes cited in the advisory.

Risk and Exploitability

The CVSS score of 5.4 indicates a moderate risk. EPSS is not available, and the issue is not listed in CISA's KEV catalog, suggesting limited exploitation activity so far. The likely attack vector involves an authenticated content administrator inserting malicious payloads into pages that are sanitized but still retain the vulnerable meta tag, or a third‑party plugin that passes user input to the sanitizer. Once the payload is displayed to ordinary visitors, it can lead to XSS or phishing attacks.

Generated by OpenCVE AI on October 20, 2026 at 18:35 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the sanitize-html package to version 2.18.0 or newer to apply the official fix that blocks javascript: and data: schemes in meta refresh content.
  • Review and remove any configuration that enables meta refresh elements or their content attribute in the sanitizer's whitelist, ensuring that only safe tags and attributes are allowed.
  • As a temporary workaround, configure the sanitization settings to strip all <meta> tags or to actively filter out javascript: and data: schemes from attribute values when upgrading is not immediately possible.

Generated by OpenCVE AI on October 20, 2026 at 18:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-cv27-6wvh-8x7j ApostropheCMS: Incomplete CVE-2026-53606: `meta http-equiv=refresh` `content` still ships `javascript:` / `data:` URLs
History

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 21 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 20 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Apostrophecms
Apostrophecms apostrophecms
Apostrophecms sanitize-html
Vendors & Products Apostrophecms
Apostrophecms apostrophecms
Apostrophecms sanitize-html

Tue, 20 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Description ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. Prior to sanitize-html 2.18.0, a non-default configuration that allows meta refresh elements and their http-equiv and content attributes can retain unsafe script or redirect destinations embedded in the refresh content value. This issue is fixed in sanitize-html 2.18.0.
Title ApostropheCMS: Incomplete CVE-2026-53606: `meta http-equiv=refresh` `content` still ships `javascript:` / `data:` URLs
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}


Subscriptions

Apostrophecms Apostrophecms Sanitize-html
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-21T15:53:24.980Z

Reserved: 2026-10-20T14:27:46.641Z

Link: CVE-2026-113661

cve-icon Vulnrichment

Updated: 2026-10-21T14:24:39.009Z

cve-icon NVD

Status : Deferred

Published: 2026-10-20T18:17:19.563

Modified: 2026-10-21T16:17:24.223

Link: CVE-2026-113661

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-20T17:11:20Z

Links: CVE-2026-113661 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T20:15:06Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')