logo

CVE-2022-21222 css-what

Package

Manager: npm
Name: css-what
Vulnerable Version: >=0 <2.1.3

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00212 pctl0.43708

Details

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

Metadata

Created: 2022-10-01T00:00:24Z
Modified: 2025-05-20T21:02:33Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-p28h-cc7q-c4fg/GHSA-p28h-cc7q-c4fg.json
CWE IDs: ["CWE-1333", "CWE-400"]
Alternative ID: GHSA-p28h-cc7q-c4fg
Finding: F002
Auto approve: 1