sanitize@1.0.2 vulnerabilities

Input sanitizing library for node.js

Direct Vulnerabilities

Known vulnerabilities in the sanitize 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
  • H
Regular Expression Denial of Service (ReDoS)

sanitize is an input sanitizing library for node.js

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks. This can cause an impact of about 10 seconds matching time for data 250 characters long.

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

Upgrade sanitize to version 2.1.0 or higher

<2.1.0