p PatchFirst

PatchFirst · Latest vulnerabilities

node-sanitize-html vulnerabilities

Vulnerabilities published for node-sanitize-html in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 4

  1. CVE-2014-125128

    Medium · CVSS 6.1EPSS 0.27%No fix published

    CVE-2014-125128

    'sanitize-html' prior to version 1.0.3 is vulnerable to Cross-site Scripting (XSS). The function 'naughtyHref' doesn't properly validate the hyperreference (`href`) attribute in anchor tags (`<a>`), allowing bypasses that contain different casings, whitespace characters, or hexadecimal encodings.

    Published Updated
  2. CVE-2019-25225

    Medium · CVSS 6.1EPSS 0.27%No fix published

    CVE-2019-25225

    `sanitize-html` prior to version 2.0.0-beta is vulnerable to Cross-site Scripting (XSS). The `sanitizeHtml()` function in `index.js` does not sanitize content when using the custom `transformTags` option, which is intended to convert attribute values into text. As a result, malicious input can be transformed into executable code.

    Published Updated
  3. CVE-2024-21501

    Medium · CVSS 5.3EPSS 1.03%No fix published

    CVE-2024-21501

    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.

    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →