ADVISORIES

Vulnerability

CVE-2022-21222

The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.

5 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 2Ubuntu 2npm 1

Advisories

  • DEBIAN-CVE-2022-21222

    The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this…

    CVE-2022-21222 Debian Updated 20 November 2026
  • DLA-3350-1

    node-css-what - security update

    CVE-2021-33587CVE-2022-21222 Debian Updated 20 November 2026
  • GHSA-p28h-cc7q-c4fg

    css-what vulnerable to ReDoS due to use of insecure regular expression

    High CVE-2022-21222 npm Updated 20 May 2025
  • UBUNTU-CVE-2022-21222

    The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this…

    CVE-2022-21222 Ubuntu Updated 17 October 2026
  • USN-6065-1

    node-css-what vulnerabilities

    CVE-2021-33587CVE-2022-21222 Ubuntu Updated 25 June 2026

References