CVE-2020-7608Yargs-parser
Medium 5.3
Follow: this CVE · Yargs · Yargs-parser We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Yargs-parser.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| yargs | yargs-parser | < 5.0.1 |
| yargs | yargs-parser | ≥ 6.0.0 < 13.1.2 |
| yargs | yargs-parser | ≥ 14.0.0 < 15.0.1 |
| yargs | yargs-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