Skip to main content

CVE-2026-113661: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in apostrophecms apostrophe

0
Medium
VulnerabilityCVE-2026-113661cvecve-2026-113661cwe-79
Published: 10/20/2026 (10/20/2026, 17:11:20 UTC)
Source: CVE Database V5
Vendor/Project: apostrophecms
Product: apostrophe

Description

CVE-2026-113661 is a medium severity cross-site scripting (XSS) vulnerability in ApostropheCMS, an open-source Node.js content management system. The issue arises from the sanitize-html library prior to version 2.18.0 when using a non-default configuration that permits meta refresh elements and their http-equiv and content attributes. This configuration can retain unsafe script or redirect destinations embedded in the refresh content, leading to improper input neutralization during web page generation. The vulnerability is fixed in sanitize-html version 2.18.0.

CVSS v3.1

Score 5.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected software

apostrophecms

apostrophe

Affected versions
<4.33.0

apostrophecms

sanitize-html

Affected versions
<2.18.0
sanitize-html
pkg:npm/sanitize-html
Affected versions
<2.18.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/20/2026, 17:48:38 UTC

Technical Analysis

ApostropheCMS uses the sanitize-html library to sanitize HTML content. Versions of sanitize-html before 2.18.0, when configured to allow meta refresh elements and their associated attributes, fail to properly neutralize unsafe scripts or redirect URLs embedded in the content attribute of meta refresh tags. This results in a cross-site scripting vulnerability (CWE-79) where malicious input can be executed in the context of the web page. The issue is resolved by updating sanitize-html to version 2.18.0 or later.

Potential Impact

An attacker could exploit this vulnerability to execute arbitrary scripts or redirect users to malicious sites via crafted meta refresh elements. This can lead to limited confidentiality and integrity impacts, such as theft of user data or session hijacking. The CVSS 3.1 base score is 5.4 (medium severity), reflecting network attack vector, low attack complexity, required privileges and user interaction, and partial confidentiality and integrity impact without availability impact.

Mitigation Recommendations

Upgrade the sanitize-html library to version 2.18.0 or later, which fixes the vulnerability by properly sanitizing meta refresh elements and their attributes. Since this is a library-level fix, ensure that ApostropheCMS installations update their dependencies accordingly. No other specific mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-20T14:27:46.641Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad7a6132cdf04f65647bf3d

Added to database: 10/20/2026, 17:34:11 UTC

Last enriched: 10/20/2026, 17:48:38 UTC

Last updated: 10/20/2026, 19:06:08 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses