HighGHSA-q8pj-2vqx-8ggcCVE-2021-33587

Denial of service in css-what

Published 7 Jun 2021 · Updated 8 Nov 2023

Affected package

Affected
>=4.0.0 <5.0.1
Fixed in
5.0.1
Update to the fixed version for your release line, for example:npm install css-what@5.0.1

Details

The css-what package 4.0.0 through 5.0.0 for Node.js does not ensure that attribute parsing has Linear Time Complexity relative to the size of the input.

Is GHSA-q8pj-2vqx-8ggc in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected css-what, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.