CVE-2026-113661

ApostropheCMS: Incomplete CVE-2026-53606: `meta http-equiv=refresh` `content` still ships `javascript:` / `data:` URLs

Published Oct 20, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Apostrophecms
Apostrophecms apostrophecms
Apostrophecms sanitize-html
Vendors & Products Apostrophecms
Apostrophecms apostrophecms
Apostrophecms sanitize-html
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 21, 2026, 3:53 PM
Reserved
Oct 20, 2026, 2:27 PM
Status
Deferred
Published
Oct 20, 2026, 6:17 PM
Modified
Oct 21, 2026, 4:17 PM
Severity
Moderate
Public date
Oct 20, 2026, 5:11 PM