Live threats

All CVEs / Yargs

CVE-2020-7608Yargs-parser

Medium 5.3

Priority
32
CVSS 3.1
5.3
EPSS
0.5%
probability of exploitation in 30 days · percentile 37
Auth required
Yes
Published
Mar 16, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1321
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

What happens

yargs-parser could be tricked into adding or modifying properties of Object.prototype using a "__proto__" payload.

Original NVD text.

What to do

  1. Apply the vendor's security update for Yargs-parser.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm yargs-parser ≥ 6.0.0 < 13.1.2 13.1.2 npm install yargs-parser@13.1.2
npm yargs-parser ≥ 14.0.0 < 15.0.1 15.0.1 npm install yargs-parser@15.0.1
npm yargs-parser ≥ 16.0.0 < 18.1.1 18.1.1 npm install yargs-parser@18.1.1
npm yargs-parser < 5.0.1 5.0.1 npm install yargs-parser@5.0.1

Per OSV / GitHub Advisories (GHSA-p9pc-299p-vxgp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
yargsyargs-parser< 5.0.1
yargsyargs-parser≥ 6.0.0 < 13.1.2
yargsyargs-parser≥ 14.0.0 < 15.0.1
yargsyargs-parser≥ 16.0.0 < 18.1.1

Official sources

References

Links published by the sources. Open them with care.

  • snyk.io Exploit Patch Third Party Advisory