7.5

CVE-2022-21222: css-what_project css-what

CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2022-21222DEBIAN-CVE-2022-21222GHSA-p28h-cc7q-c4fg
Published 30-09-2022Last modified 20-05-2025

Vulnerability summary

CVE-2022-21222 is a high (CVSS 7.5) vulnerability in css-what_project css-what. EPSS estimates a 1.90% chance of exploitation in the next 30 days, higher than 79.4% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.90%
0%100%
Low · +0.38 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 30-09-2022
    PublishedVulnerability first disclosed.
  2. 20-05-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

1.90%

Chance of exploitation in the next 30 days

Percentile

79%

Versus all other CVEs

30-day change

+0.38 pp

From 1.52% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.90%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (security.snyk.io)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Css-what_project1 product
Debian1 product
  • node-css-what< 5.0.1-1
Npm1 product
  • css-what< 2.1.3
Ubuntu1 product
  • node-css-what< 2.1.0-1ubuntu0.16.04.1~esm1 | < 2.1.0-1+deb10u1build0.18.04.1 | < 3.2.1-1ubuntu0.1~esm1 | All versions (No fix recorded)

4 vendors · 4 products

References

11 links
Show all 11 references