VYPR
Medium severity5.3NVD Advisory· Published Feb 24, 2024· Updated Jun 17, 2026

CVE-2024-21501

CVE-2024-21501

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
sanitize-htmlnpm
< 2.12.12.12.1

Affected products

10

Patches

Vulnerability mechanics

References

11

News mentions

0

No linked articles in our index yet.