org.webjars.npm:sanitize-html@2.6.1 vulnerabilities

  • latest version

    2.7.0

  • first published

    8 years ago

  • latest version published

    2 years ago

  • licenses detected

  • package manager

Direct Vulnerabilities

Known vulnerabilities in the org.webjars.npm:sanitize-html package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Information Exposure

Affected versions of this package 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.

How to fix Information Exposure?

There is no fixed version for org.webjars.npm:sanitize-html.

[0,)
  • M
Regular Expression Denial of Service (ReDoS)

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure global regular expression replacement logic of HTML comment removal.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade org.webjars.npm:sanitize-html to version 2.7.1 or higher.

[,2.7.1)