🛡️ CVE-2024-21501 on Debian — node-sanitize-html
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.
Distribution advisory
This page covers CVE-2024-21501 as tracked by Debian, for the package node-sanitize-html. The fix is available in version 2.13.0+~2.11.0-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability none.
Weakness class
DEBIAN-CVE-2024-21501 is classified as CWE-200: Exposure of Sensitive Information. Information that should stay internal is disclosed to someone who is not authorised to see it.
Affected software
DEBIAN-CVE-2024-21501 is recorded against 1 package.
- node-sanitize-html (fixed in 2.13.0+~2.11.0-1)
Timeline and source
Published on 24 February 2024 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2024-21501 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| node-sanitize-html | — | 2.13.0+~2.11.0-1 |
References
Similar Threats
- Unknown UBUNTU-CVE-2014-125128
- Unknown UBUNTU-CVE-2019-25225
- Unknown UBUNTU-CVE-2024-21501
- Unknown DEBIAN-CVE-2022-25887
- Unknown UBUNTU-CVE-2022-25887
Vulnerability Monitoring
Track new vulnerabilities in node-sanitize-html
DEBIAN-CVE-2024-21501 is rated CVSS 5.3 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.