CVE-2024-21501 Affecting node-sanitize-html package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.03% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-NODESANITIZEHTML-6276575
  • published26 Feb 2024
  • disclosed24 Feb 2024

Introduced: 24 Feb 2024

CVE-2024-21501  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 node-sanitize-html.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-sanitize-html package and not the node-sanitize-html package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1