{"cve":"CVE-2022-21222","nvd":{"published":"2022-09-30T05:15:08.713","modified":"2026-06-17T04:25:46.883","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js%23L12","https://lists.debian.org/debian-lts-announce/2023/03/msg00001.html","https://security.snyk.io/vuln/SNYK-JS-CSSWHAT-3035488","https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js%23L12","https://lists.debian.org/debian-lts-announce/2023/03/msg00001.html"],"products":["css-what_project:css-what"],"source":"nvd","synced_at":"2026-10-19T21:36:05.460296998+00:00"},"epss":{"cve":"CVE-2022-21222","score":0.01904,"percentile":0.79716,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-p28h-cc7q-c4fg","url":"https://osv.dev/vulnerability/GHSA-p28h-cc7q-c4fg","summary":"css-what vulnerable to ReDoS due to use of insecure regular expression","modified":"2025-05-20T21:02:33Z","packages":[{"ecosystem":"npm","name":"css-what","purl":"pkg:npm/css-what","ranges":["<2.1.3"],"fixed":["2.1.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}