Skip to content

css-what (npm)

a CSS selector parser

Advisories
3
Latest version
8.0.0
Released Mar 17, 2026
License
BSD-2-Clause
OpenSSF Scorecard
6.5 / 10

How to fix

Upgrading to 5.0.1 or later clears every advisory below that has a fix.

Upgrade commands
npm
npm install css-what@8.0.0
yarn
yarn add css-what@8.0.0
pnpm
pnpm add css-what@8.0.0

Known vulnerabilities

AdvisorySeverityAffectedFixed in
GHSA-p28h-cc7q-c4fg
css-what vulnerable to ReDoS due to use of insecure regular expression
High
EPSS 1.90%
< 2.1.3
2.1.3
GHSA-p28h-cc7q-c4fg
css-what vulnerable to ReDoS due to use of insecure regular expression
High
EPSS 1.90%
< 2.1.3
2.1.3
GHSA-q8pj-2vqx-8ggc
Denial of service in css-what
High
EPSS 2.04%
>= 4.0.0, < 5.0.1
5.0.1

Source: git+https://github.com/fb55/css-what.git

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor