CVE-2024-21501

MEDIUM5.3EPSS 1.8%

sanitize-html Information Exposure vulnerability

Published: 2/24/2024Modified: 8/28/2024
Also known as:GHSA-rm97-x556-q36h

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.

Affected packages (2)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References (11)