CVE-2026-84371: apostrophecms apostrophe · Cross-site Scripting
Affects apostrophecms apostropheSource CVE Database V5
Not known to be exploited · CVSS 5.4 Medium : upgrade to 2.17.7 when convenient.
Data as of 30 Nov 2026, 18:37 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.17.7
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade apostrophe and sanitize-html to 2.17.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| apostrophecmsapostrophe | Affected
| Fixed in
|
npmsanitize-htmlpkg:npm/sanitize-htmlOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
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.
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.
References
- github.com/apostrophecms/apostrophe/security/advisories/GHSA-g8qq-57p8-ggw5 (opens in a new tab)
- github.com/apostrophecms/apostrophe/pull/5552 (opens in a new tab)
- github.com/apostrophecms/apostrophe/commit/1135516a1a4a8f9638641c460488a43d8af20081 (opens in a new tab)
- github.com/apostrophecms/apostrophe/commit/38ff1106c8176b16c2da9872acd9b449adcbb949 (opens in a new tab)
- github.com/apostrophecms/apostrophe/blob/main/packages/sanitize-html/CHANGELOG.md (opens in a new tab)