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.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
1.90%
0%100%
Low · +0.38 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Advisory lineage
Upstream 0 · Downstream 2 · Related 1Timeline
- 30-09-2022PublishedVulnerability first disclosed.
- 20-05-2025Last 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 versionHigh 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSources5 sources · 5.3–7.5
- CVE.orgCNA5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:PDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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 score1.90%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (security.snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Css-what_project1 product
- css-what< 2.1.3
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- github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js%23L12REPORTWEBBroken LinkThird Party Advisory
- github.com/fb55/css-whatPACKAGE