Skip to main content
EPSS 0.3%top 79%

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

0
Medium
Published: 09/01/2026 (09/01/2026, 20:51:10 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 version 1.9.0 until version 2.17.7, packages/sanitize-html/index.js validates an animation value attribute as one flat URL and does not recognize that attributeName selecting href or xlink:href gives the sibling values, from, to, or by attribute SVG SMIL URL semantics. In configurations that allow the animate, animateColor, animateMotion, animateTransform, or set elements, a values list can begin with a safe fragment and contain a later executable destination that survives allowedSchemesAppliedToAttributes checking. When the sanitized SVG is rendered, the browser can copy that later destination into the live link, and a victim who activates the link can execute script in the application's origin. This issue is fixed in version 2.17.7.

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
>=1.9.0 <2.17.7

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 13:45:54 UTC

Technical Analysis

ApostropheCMS uses the sanitize-html package to sanitize HTML content. From version 1.9.0 until 2.17.7, sanitize-html's validation of animation value attributes in SVG elements (such as animate, animateColor, animateMotion, animateTransform, and set) treats the values as a single flat URL and fails to recognize that attributes like href or xlink:href can have multiple sibling values with SVG SMIL URL semantics. This allows a crafted values list to start with a safe fragment but include a later executable destination that bypasses allowedSchemesAppliedToAttributes checks. When rendered, the browser may copy this executable destination into a live link, enabling script execution in the application's origin context. The vulnerability is addressed in sanitize-html version 2.17.7.

Potential Impact

Successful exploitation can lead to cross-site scripting attacks, allowing an attacker to execute arbitrary scripts in the context of the vulnerable ApostropheCMS application. This can result in information disclosure or manipulation of the user interface. The CVSS score is 5.4 (medium), reflecting limited privileges required (low), user interaction needed (required), and partial impact on confidentiality and integrity.

Mitigation Recommendations

This vulnerability is fixed in sanitize-html version 2.17.7. Users of ApostropheCMS should upgrade sanitize-html to version 2.17.7 or later to remediate this issue. No official vendor advisory or patch link is provided in the data, so users should verify the fix availability from the sanitize-html project or ApostropheCMS maintainers. Patch status is not yet confirmed in the provided data — check the vendor advisory for current remediation guidance.

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-09-01T16:27:58.129Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a973b19acd9273b492feea7

Added to database: 09/01/2026, 20:52:41 UTC

Last enriched: 09/07/2026, 13:45:54 UTC

Last updated: 10/15/2026, 06:48:19 UTC

Views: 49

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