CVE-2024-21501 – sanitize-html
Package
Manager: npm
Name: sanitize-html
Vulnerable Version: >=0 <2.12.1
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.01341 pctl0.79257
Details
sanitize-html Information Exposure vulnerability 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.
Metadata
Created: 2024-02-24T06:30:17Z
Modified: 2024-08-28T21:58:16Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-rm97-x556-q36h/GHSA-rm97-x556-q36h.json
CWE IDs: ["CWE-200", "CWE-538"]
Alternative ID: GHSA-rm97-x556-q36h
Finding: F009
Auto approve: 1