---
id: CVE-2026-84371
title: >-
  ApostropheCMS is an open-source Node.js content management system, and
  sanitize-html provides a simple HTML sanitizer with a clear API
summary: >-
  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…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: Red Hat
product: Red Hat Satellite 6
affected:
  - cost_management_on_premise
  - multicluster_engine_for_kubernetes
  - advanced_cluster_management_for_kubernetes 2
  - enterprise_linux 10
  - openshift_ai_rhoai
  - openshift_container_platform 4
  - openshift_dev_spaces
  - quay 3
  - satellite 6
patched:
  - sanitize-html 2.17.7
published: '2026-09-01'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:09:13.080'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-84371'
references:
  - url: >-
      https://github.com/apostrophecms/apostrophe/blob/main/packages/sanitize-html/CHANGELOG.md
    label: security-advisories@github.com
  - url: >-
      https://github.com/apostrophecms/apostrophe/commit/1135516a1a4a8f9638641c460488a43d8af20081
    label: security-advisories@github.com
  - url: >-
      https://github.com/apostrophecms/apostrophe/commit/38ff1106c8176b16c2da9872acd9b449adcbb949
    label: security-advisories@github.com
  - url: 'https://github.com/apostrophecms/apostrophe/pull/5552'
    label: security-advisories@github.com
  - url: >-
      https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-g8qq-57p8-ggw5
    label: security-advisories@github.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-84371.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-84371'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2527092'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-84371'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-84371'
  - url: 'https://github.com/advisories/GHSA-g8qq-57p8-ggw5'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - ghsa
  - npm
epss: 0.00298
epssPercentile: 0.2
aliases:
  - GHSA-g8qq-57p8-ggw5
ecosystem: npm
ingestedAt: '2026-09-01T21:32:41.598Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-84371)

Affected packages:

- `sanitize-html >= 1.9.0, <= 2.17.6`

Patched in:

- `sanitize-html 2.17.7`

Source: https://github.com/advisories/GHSA-g8qq-57p8-ggw5

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Cost Management On Premise, Multicluster Engine for Kubernetes, Red Hat Advanced Cluster Management for Kubernetes 2, Red Hat Enterprise Linux 10, Red Hat OpenShift AI (RHOAI), Red Hat OpenShift Container Platform 4, … · no fix planned: Cost Management On Premise, Multicluster Engine for Kubernetes, Red Hat Advanced Cluster Management for Kubernetes 2, Red Hat Enterprise Linux 10, … · updated 2026-09-07 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-84371.json)
