Vulnerability library
Security checkApril 11, 2023

Regular Expression Denial of Service in clean-css

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Low severitynpmclean-css

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Version of clean-css prior to 4.1.11 are vulnerable to Regular Expression Denial of Service (ReDoS). Untrusted input may cause catastrophic backtracking while matching regular expressions. This can cause the application to be unresponsive leading to Denial of Service.

Recommendation

Update the clean-css package to the latest compatible version. Followings are version details:

  • Affected version(s): < 4.1.11
  • Patched version(s): 4.1.11

References

Could your website be exposed too?

SmartScanner can check your website for Regular Expression Denial of Service in clean-css and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated April 11, 2023