html-minifier@4.0.0 vulnerabilities

Highly configurable, well-tested, JavaScript-based HTML minifier.

Direct Vulnerabilities

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

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regex in the cleanAttributeValue function in htmlminifier.js.

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

There is no fixed version for html-minifier.

*