CVE-2024-21501
CVSS v3
5.3
MEDIUM
EPSS Score
1.0 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for sanitize-html.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- sanitize-htmlnpmall versions · fixed in 2.12.1
Vendor advisories
sanitize-html: Information Exposure when used on the backend
rhdh/rhdh-hub-rhel9 as a component of Red Hat Developer Hub · devspaces/dashboard-rhel8 as a component of Red Hat OpenShift Dev Spaces · quay/quay-rhel8 as a component of Red Hat Quay 3
Red Hat Bug Fix Advisory: Red Hat Advanced Cluster Management 2.9.4 bug fixes and container updates
Red Hat Bug Fix Advisory: multicluster engine for Kubernetes 2.4.5 bug fixes and container updates
Red Hat Security Advisory: OpenShift Container Platform 4.15.9 bug fix and security update
Red Hat Bug Fix Advisory: Red Hat Advanced Cluster Management 2.10.1 bug fix advisory
Red Hat Bug Fix Advisory: Multicluster Engine for Kubernetes 2.5.2 bug fixes and container updates
Description
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.
Technical details
- Published
- 2024-02-24
Frequently asked questions
What is CVE-2024-21501?
Is CVE-2024-21501 actively exploited?
What is the CVSS score for CVE-2024-21501?
Running sanitize-html? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.