# GHSA-wxhq-pm8v-cw75: Regular Expression Denial of Service in clean-css

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2019-06-05T20:50:16.000Z
- Modified: 2020-08-31T18:35:40.000Z
- Weaknesses: CWE-1333

## 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

Upgrade to version 4.1.11 or higher.

(As written by GitHub Advisory Database.)

## Affected

- clean-css (npm): before 4.1.11

## References

- <https://github.com/jakubpawlowicz/clean-css/commit/2929bafbf8cdf7dccb24e0949c70833764fa87e3> (web)
- <https://www.npmjs.com/advisories/785> (web)

## Sources

- GitHub Advisory Database: [GHSA-wxhq-pm8v-cw75](https://github.com/advisories/GHSA-wxhq-pm8v-cw75), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-wxhq-pm8v-cw75 · Whole record: https://cve.day/GHSA-wxhq-pm8v-cw75.json · Rebuilt by cve.day 2026-11-25T22:56:46.927Z
