CVE-2026-84371: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in apostrophecms 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
Affected software
apostrophecms
apostrophe
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.