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.
CVE ID: CVE-2024-21501
CVSS Base Severity: MEDIUM
CVSS Base Score: 5.3
CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P
Vendor: n/a
Product: sanitize-html
EPSS Score: 0.04% (probability of being exploited)
EPSS Percentile: 15.83% (scored less or equal to compared to others)
EPSS Date: 2025-03-14 (when was this score calculated)