clean-css@3.4.28 vulnerabilities

A well-tested CSS minifier

Direct Vulnerabilities

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

clean-css is a fast and efficient CSS optimizer for Node.js platform and any modern browser.

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 70k characters long.

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

Upgrade clean-css to version 4.1.11 or higher.

<4.1.11