CVE-2024-21501 MEDIUM

CVE-2024-21501

Vendor N/A
Product sanitize-html
Weakness CWE-200 · Info exposure
Published February 24, 2024
Last update February 13, 2025

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 24, 2024 CVE published
February 13, 2025 Record updated