cve.bz

CVE-2026-84371 apostrophecms apostrophe: Cross-site Scripting

5.4 mediumEPSS 0.3%Fix available

Medium (5.4) in apostrophecms apostrophe. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in sanitize-html 2.17.7.

On this page
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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • sanitize-html (npm): fixed in 2.17.7

Ask an AI about this CVE

Show the promptExplain CVE-2026-84371 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-84371?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-84371?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-84371 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
apostrophecms apostrophe>= 1.9.0, < 2.17.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g8qq-57p8-ggw5npmsanitize-html>=1.9.0 <2.17.72.17.7

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

To exploit this flaw, an attacker needs to trick a user into clicking or interacting with a malicious rendered SVG file, reducing the likelihood of exploitation. Additionally, this vulnerability can only be triggered in configurations that allow the animate, animateColor, animateMotion, animateTransform or set elements. For these reasons, this issue has been rated with a moderate severity.

Red Hat's mitigation

To mitigate this vulnerability, ensure the allowedTags configuration does not contain any of the following elements: animate, animateColor, animateMotion, animateTransform or set.

ProductPackageStateAdvisory
Cost Management On Premisecostmanagement/costmanagement-ui-rhel10Fix deferred
Multicluster Engine for Kubernetesmulticluster-engine/console-mce-rhel9Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/console-rhel9Fix deferred
Red Hat Enterprise Linux 10cockpit-image-builderFix deferred
Red Hat Hardened Imagesopentelemetry-collectorNot affected
Red Hat Hardened Imagesopentelemetry-collector-contribNot affected
Red Hat Hardened Imagesopentelemetry-collector-k8sNot affected
Red Hat Hardened Imagesprometheus3.13Not affected
Red Hat Hardened Imagesprometheus3.5Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-rhel9Fix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-agent-installer-ui-rhel9Fix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-consoleFix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-console-rhel9Fix deferred
Red Hat OpenShift Container Platform 5openshift5/ose-agent-installer-ui-rhel9Fix deferred
Red Hat OpenShift Container Platform 5openshift5/ose-console-rhel9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces/dashboard-rhel9Fix deferred
Red Hat Quay 3quay/quay-rhel8Fix deferred
Red Hat Quay 3quay/quay-rhel9Fix deferred
Red Hat Satellite 6nodejs-sanitize-htmlFix deferred
Red Hat Satellite 6satellite/iop-advisor-frontend-rhel9Fix deferred
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-84371.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON