CVSS 3.1
5.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NMedium (5.3). EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in sanitize-html 2.12.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:Nsanitize-html (npm): fixed in 2.12.1Explain CVE-2024-21501 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-21501?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-21501?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-2024-21501 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| apostrophecms:sanitize-html | before 2.12.1 |
| fedoraproject:fedora | 39 |
| fedoraproject:fedora | 40 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-rm97-x556-q36h | npm | sanitize-html | <2.12.1 | 2.12.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | node-sanitize-html | no fix listed | DEBIAN-CVE-2024-21501 |
| Debian | 13, 14 | node-sanitize-html | 2.13.0+~2.11.0-1 | DEBIAN-CVE-2024-21501 |
| Ubuntu | 22.04:LTS, 24.04:LTS, 25.10 and 2 more | node-sanitize-html | no fix listed | UBUNTU-CVE-2024-21501 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| multicluster engine for Kubernetes 2.4 for RHEL 8 | multicluster-engine/console-mce-rhel8:v2.4.5-25 | Fixed 2024-06-03 | RHBA-2024:3555 |
| multicluster engine for Kubernetes 2.4 for RHEL 8 | multicluster-engine/multicluster-engine-console-mce-rhel8:v2.4.5-25 | Fixed 2024-06-03 | RHBA-2024:3555 |
| multicluster engine for Kubernetes 2.5 for RHEL 9 | multicluster-engine/console-mce-rhel9:v2.5.2-6 | Fixed 2024-04-10 | RHBA-2024:1775 |
| multicluster engine for Kubernetes 2.5 for RHEL 9 | multicluster-engine/multicluster-engine-console-mce-rhel9:v2.5.2-6 | Fixed 2024-04-10 | RHBA-2024:1775 |
| Red Hat Advanced Cluster Management for Kubernetes 2.10 for RHEL 9 | rhacm2/console-rhel9:v2.10.1-3 | Fixed 2024-04-11 | RHBA-2024:1793 |
| Red Hat Advanced Cluster Management for Kubernetes 2.9 for RHEL 8 | rhacm2/console-rhel8:v2.9.4-22 | Fixed 2024-06-04 | RHBA-2024:3593 |
| Red Hat OpenShift Container Platform 4.15 | openshift4/ose-monitoring-plugin-rhel8:v4.15.0-202404031310.p0.ge8f7503.assembly.stream.el8 | Fixed 2024-04-16 | RHSA-2024:1770 |
| Red Hat Developer Hub 1 | rhdh/rhdh-hub-rhel9 | Affected | |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-console | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-console | Not affected | |
| Red Hat OpenShift Dev Spaces | devspaces/dashboard-rhel8 | Will not fix | |
| Red Hat Quay 3 | quay/quay-rhel8 | Affected | |
| Red Hat Satellite 6 | nodejs-redhat-cloud-services-frontend-components | Affected |
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-2024-21501.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).