cve.bz

CVE-2022-21222

7.5 highEPSS 1.9%

High (7.5) in css-what project css-what. EPSS 1.9% chance of exploitation in the next 30 days. Fixed in css-what 2.1.3.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.9% chance of exploitation in the next 30 days; higher than 79% of CVEs (scores of 2026-10-31)
CWE
CWE-1333
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p28h-cc7q-c4fgnpmcss-what<2.1.32.1.3

References

Check your stackJSON