Skip to main content

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

0
Low
VulnerabilityCVE-2026-113657cvecve-2026-113657cwe-79
Published: 10/20/2026 (10/20/2026, 16:54:12 UTC)
Source: CVE Database V5
Vendor/Project: apostrophecms
Product: apostrophe

Description

ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. From sanitize-html 2.17.7 until 2.18.0, an application configuration that permits namespace-prefixed SVG animation elements and the relevant URL-targeting attributes can bypass the SMIL URL protection because prefixed tag names do not match the unprefixed animation-element check. The bypass can rewrite a link destination to an unsafe URI after the sanitized SVG is rendered, with script execution occurring when a user activates the affected link; the default sanitizer configuration is not unconditionally affected. This issue is fixed in sanitize-html 2.18.0.

CVSS v3.1

Score 3.7low

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

Affected software

apostrophecms

apostrophe

Affected versions
<4.33.0

apostrophecms

sanitize-html

Affected versions
>=2.17.7 <2.18.0
sanitize-html
pkg:npm/sanitize-html
Affected versions
<2.18.0<4.33.0>=2.17.7 <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:18:22 UTC

Technical Analysis

ApostropheCMS uses the sanitize-html library to sanitize HTML content. Between versions 2.17.7 and 2.18.0 of sanitize-html, an application configuration that permits namespace-prefixed SVG animation elements and related URL-targeting attributes can bypass the SMIL URL protection mechanism. This bypass occurs because prefixed tag names do not match the unprefixed animation-element check, allowing an attacker to rewrite a link destination to an unsafe URI. When the sanitized SVG is rendered, script execution can occur if a user activates the affected link. The default sanitizer configuration is not always affected. The issue is resolved in sanitize-html 2.18.0.

Potential Impact

The vulnerability allows an attacker to craft SVG content that, after sanitization, can contain unsafe URIs leading to cross-site scripting when users interact with the affected links. This can result in limited confidentiality and integrity impacts due to script execution in the context of the affected web application. The CVSS score of 3.7 reflects a low severity with network attack vector, high attack complexity, low privileges required, and user interaction needed.

Mitigation Recommendations

Upgrade sanitize-html to version 2.18.0 or later, where this vulnerability is fixed. Review application configurations that permit namespace-prefixed SVG animation elements and URL-targeting attributes to ensure they do not allow unsafe URIs. Since the default sanitizer configuration is not unconditionally affected, verify if your configuration is impacted and adjust accordingly.

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: 6ad79f0d2cdf04f656455938

Added to database: 10/20/2026, 17:04:13 UTC

Last enriched: 10/20/2026, 17:18:22 UTC

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

Views: 11

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