NetSight
medium5.3

CVE-2024-21501

sanitize-html Information Exposure vulnerability

Impact

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

EcosystemPackageAffectedFixed in
npmsanitize-html< 2.12.12.12.1

Affected products

VendorProductAffected versions
ApostrophecmsSanitize-Html
before 2.12.1
FedoraprojectFedora
Versions 39, 40

Weakness classification

References