Skip to main content

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

0
Medium
VulnerabilityCVE-2026-113654cvecve-2026-113654cwe-79
Published: 10/20/2026 (10/20/2026, 16:35:55 UTC)
Source: CVE Database V5
Vendor/Project: apostrophecms
Product: apostrophe

Description

ApostropheCMS versions prior to 4.33.0 are affected by a cross-site scripting (XSS) vulnerability due to improper sanitization of HTML content involving the noscript tag. This issue arises from the sanitize-html library versions before 2.18.0, where the non-default nonTextTags configuration including noscript can prematurely end discard regions, allowing potentially malicious content to survive sanitization and render in browsers. The vulnerability is fixed in sanitize-html version 2.18.0.

CVSS v4.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA: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:03:49 UTC

Technical Analysis

The vulnerability in ApostropheCMS stems from the sanitize-html library's handling of the noscript tag in versions prior to 2.18.0. When a non-default nonTextTags configuration includes noscript, the discard region can end early because htmlparser2 emits an implied ancestor close inside noscript. Browsers treat noscript content as raw text, but the parser does not model this mode, allowing content intended to be inert to survive sanitization and be rendered. This results in a cross-site scripting (CWE-79) vulnerability. The issue is resolved by upgrading sanitize-html to version 2.18.0 or later.

Potential Impact

An attacker could exploit this vulnerability to inject malicious scripts that bypass sanitization filters, potentially leading to cross-site scripting attacks. This could allow execution of arbitrary scripts in the context of the affected web application, impacting confidentiality and integrity of user interactions. The CVSS 4.0 score is 5.3 (medium severity), indicating a moderate risk with network attack vector, low attack complexity, and no user interaction required.

Mitigation Recommendations

Upgrade sanitize-html to version 2.18.0 or later to address the improper sanitization of the noscript tag. Additionally, upgrade ApostropheCMS to version 4.33.0 or later where this fix is incorporated. No other specific mitigations are indicated. Patch status is confirmed by the vendor advisory indicating the fix in sanitize-html 2.18.0.

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
4.0
State
PUBLISHED

Threat ID: 6ad79b8c2cdf04f65643a7b0

Added to database: 10/20/2026, 16:49:16 UTC

Last enriched: 10/20/2026, 17:03:49 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