CVE-2020-7598 — Prototype Pollution in minimist — CVE Details
Prototype Pollution in minimist
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.93%). Schedule for your next planned update.
Does your project use an affected minimist version?
Paste your package-lock.json to check it for CVE-2020-7598 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Affected versions of minimist are vulnerable to prototype pollution. Arguments are not properly sanitized, allowing an attacker to modify the prototype of Object, causing the addition or modification of an existing property that will exist on all objects.
Parsing the argument --__proto__.y=Polluted adds a y property with value Polluted to all objects. The argument --__proto__=Polluted raises and uncaught error and crashes the application.
This is exploitable if attackers have control over the arguments being passed to minimist.
Recommendation
Upgrade to versions 0.2.1, 1.2.3 or later.
Advisory Timeline
- First published April 3, 2020 (2428 days ago).
- Last revised March 13, 2026 — 2170 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install minimist@1.2.3
npm install minimist@0.2.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1321Prototype PollutionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.6 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-7598ADVISORY
- https://github.com/minimistjs/minimist/commit/10bd4cdf49d9686d48214be9d579a9cdfda37c68WEB
- https://github.com/minimistjs/minimist/commit/38a4d1caead72ef99e824bb420a2528eec03d9abWEB
- https://github.com/minimistjs/minimist/commit/4cf1354839cb972e38496d35e12f806eea92c11f#diff-a1e0ee62c91705696ddb71aa30ad4f95WEB
- https://github.com/minimistjs/minimist/commit/63e7ed05aa4b1889ec2f3b196426db4500cbda94WEB
- https://github.com/substack/minimistPACKAGE
- https://snyk.io/vuln/SNYK-JS-MINIMIST-559764WEB
- https://www.npmjs.com/advisories/1179WEB
- https://lists.opensuse.org/opensuse-security-announce/2020-06/msg00024.htmlWEB
Frequently Asked Questions
- What is CVE-2020-7598?
- Prototype Pollution in minimist. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.6/10).
- How do I check if my project is affected by CVE-2020-7598?
- CVE-2020-7598 affects minimist. It has a 1.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-7598 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This places it in the top quartile of EPSS-scored vulnerabilities — 80.6% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2021-44906CRITICAL
Prototype Pollution in minimist
- CVE-2026-94543MEDIUM
Next.js has cache poisoning of SSG and ISR pages in self-hosted applications
- CVE-2026-94545MEDIUM
Satori-generated SVG has improper escaping