Read the docs
TI-2024-14258 Aliases CVE-2024-21501GHSA-rm97-x556-q36h

Information disclosure in sanitize-html

Priority MEDIUM 63CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
Partial Red Hat: 5 fixed, 4 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.

Summary

Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allowed, allowing enumeration of files in the system (including project dependencies). An attacker could exploit this vulnerability to gather details about the file system structure and dependencies of the targeted server.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01027 63rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial sanitize-html: 2.12.1sanitize-html (npm): 2.12.1Red Hat: 1 advisoryRed Hat: 5 fixed, 4 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—sanitize-htmlbefore 2.12.12.12.1Patch availableCNA
—org.webjars.npm:sanitize-htmlall versions—No fix listedCNA
—sanitize-html (npm)before 2.12.12.12.1Patch availableGHSA-rm97-x556-q36h
  • sanitize-html Vendor— Affected before 2.12.1 Fixed in 2.12.1 Patch available CNA
  • org.webjars.npm:sanitize-html Vendor— Affected all versions Fixed in — No fix listed CNA
  • sanitize-html (npm) Vendor— Affected before 2.12.1 Fixed in 2.12.1 Patch available GHSA-rm97-x556-q36h

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:*before 2.12.1Vulnerableapostrophecms
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*39VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*40VulnerableFedoraproject
  • cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:* Versions before 2.12.1 Vulnerable ·apostrophecms
  • cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* Versions 39 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* Versions 40 Vulnerable ·Fedoraproject

Remediation

  • Fix · CNA sanitize-html Fixed in 2.12.1
  • Fix · GHSA-rm97-x556-q36h sanitize-html (npm) Fixed in 2.12.1 Advisory →

Red Hat 1 advisory

  • RHSA-2024:1770 Released 2024-04-16 · Red Hat rating Important
    OpenShift Container Platform 4.15.9 bug fix and security update
    • Red Hat OpenShift Container Platform 4.15 openshift4/cloud-network-config-controller-rhel8, openshift4/egress-router-cni-rhel8, openshift4/kube-metrics-server-rhel8 +47

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Developer Hub 1AffectedNo fix yet
Red Hat OpenShift Dev SpacesAffectedNo fix planned: Will not fix
Red Hat Quay 3AffectedNo fix yet
Red Hat Satellite 6AffectedNo fix yet
Red Hat Advanced Cluster Management for Kubernetes 2.10 for RHEL 9Fixed—
Red Hat Advanced Cluster Management for Kubernetes 2.9 for RHEL 8Fixed—
Red Hat OpenShift Container Platform 4.15Fixed RHSA-2024:1770
multicluster engine for Kubernetes 2.4 for RHEL 8Fixed—
multicluster engine for Kubernetes 2.5 for RHEL 9Fixed—
Not affected: 8 products
  • Red Hat Advanced Cluster Management for Kubernetes 2.10 for RHEL 9
  • Red Hat Advanced Cluster Management for Kubernetes 2.9 for RHEL 8
  • Red Hat OpenShift Container Platform 3.11
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Container Platform 4.15
  • multicluster engine for Kubernetes 2.4 for RHEL 8
  • multicluster engine for Kubernetes 2.5 for RHEL 8
  • multicluster engine for Kubernetes 2.5 for RHEL 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-21501
  2. 2026-10-03 Alias added: GHSA-rm97-x556-q36h
  3. 2026-10-27 Affected versions changed · Red Hat

References

Sources