# CVE-2020-7608: yargs-parser Vulnerable to Prototype Pollution

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-03-16T19:49:49.000Z
- Modified: 2026-07-08T06:49:37.726Z
- Also known as: GHSA-p9pc-299p-vxgp, SNYK-JS-YARGSPARSER-560381
- Weaknesses: CWE-915, CWE-1321
- Assigned by: snyk

## Description

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

(As written by CVE List.)

## Affected

- yargs-parser: All versions prior to version 18.1.1 and patches at 13.1.2 and 15.0.1
- yargs-parser (npm): from 6.0.0 before 13.1.2; from 14.0.0 before 15.0.1; from 16.0.0 before 18.1.1; before 5.0.1
- yargs yargs-parser: before 5.0.1; from 6.0.0 before 13.1.2; from 14.0.0 before 15.0.1; from 16.0.0 before 18.1.1

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-YARGSPARSER-560381> (exploit, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7608> (advisory)
- <https://github.com/yargs/yargs-parser/commit/1c417bd0b42b09c475ee881e36d292af4fa2cc36> (web)
- <https://github.com/yargs/yargs-parser/commit/63810ca1ae1a24b08293a4d971e70e058c7a41e2> (web)
- <https://github.com/yargs/yargs-parser> (package)
- <https://www.npmjs.com/advisories/1500> (web)

## Sources

- CVE List: [CVE-2020-7608](https://www.cve.org/CVERecord?id=CVE-2020-7608), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-p9pc-299p-vxgp](https://github.com/advisories/GHSA-p9pc-299p-vxgp), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-7608](https://nvd.nist.gov/vuln/detail/CVE-2020-7608), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7608 · Whole record: https://cve.day/CVE-2020-7608.json · Rebuilt by cve.day 2026-11-25T22:57:51.553Z
