CVE & CISA-KEV Catalog

CVE-2024-21501

MEDIUM
5.3
CVSS v3
NVD

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.

How to fix

Remediation Available
node-sanitize-htmlDebian
Fixed in:2.13.0+~2.11.0-1CVE-2024-21501
Fixed in:2.13.0+~2.11.0-1CVE-2024-21501

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploit Intelligence

1.03%probability of exploitation in 30 days
63rdpercentile

Moderate risk: more likely to be exploited than 63% of all known CVEs.

References

Related Vulnerabilities

Other CWE-200 (Information Exposure) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-24919High8.6100%KEV + Ransom-
CVE-2020-14181Medium5.3100%-Fix
CVE-2021-34429Medium5.399%-Fix
CVE-2018-11409Medium5.398%--
CVE-2021-41277Critical10.097%KEV-
CVE-2016-2183High7.595%-Fix

Common questions

How do I fix CVE-2024-21501?

Upgrade node-sanitize-html on debian 13 to 2.13.0+~2.11.0-1 or later.

Is CVE-2024-21501 being actively exploited?

Not that we know of. CVE-2024-21501 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.0% is the estimated probability that it will be exploited in the next 30 days. That is higher than 63% of all scored CVEs.

How severe is CVE-2024-21501?

CVE-2024-21501 has a CVSS v3 base score of 5.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2024-21501 affect?

Published advisories record a fix for node-sanitize-html (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2024-21501
CVE-2024-21501 severity badge

Markdown

[![CVE-2024-21501](https://tridentstack.com/cve/badge/CVE-2024-21501.svg)](https://tridentstack.com/cve/CVE-2024-21501)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-21501"><img src="https://tridentstack.com/cve/badge/CVE-2024-21501.svg" alt="CVE-2024-21501"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-04-25.