CriticalGHSA-xvch-5gv4-984hCVE-2021-44906

Prototype Pollution in minimist

Published 18 Mar 2022 · Updated 13 Mar 2026

Affected packages

Affected
>=1.0.0 <1.2.6
Fixed in
1.2.6
Update to the fixed version for your release line, for example:npm install minimist@1.2.6
Affected
<0.2.4
Fixed in
0.2.4
Update to the fixed version for your release line, for example:npm install minimist@0.2.4

Details

Minimist prior to 1.2.6 and 0.2.4 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Is GHSA-xvch-5gv4-984h 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 minimist, and gives you the command that fixes it.

References

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