---
title: "CX-2020-4299"
date: "2020-04-22T07:00:00+00:00"
url: "https://checkmarx.com/zero/vulnerabilities/cx-2020-4299/"
---

# CX-2020-4299

[Disclosed vulnerabilities](https://checkmarx.com/zero/vulnerabilities/)

Fixed: Mar 10, 2020

CVE-2020-7598  **Published:** Apr 22, 2020

5.6 Medium Severity javascript minimist PROTOTYPE-POLLUTION

C Checkmarx  Reported by Checkmarx Zero

Details Overview

## Summary

A prototype pollution vulnerability was discovered in Minimist. Arguments are not properly sanitized, allowing an attacker to modify the prototype of Object, causing the addition or modication of an existing property that will exist on all objects.

## Product

Minimist before version 0.2.1 and 1.2.x before 1.2.3.

## Impact

If the attackers have control over the arguments being passed to minimist, they could crash the application, causing a denial of service.

## Steps to reproduce

```
>>> require('minimist')(["--__proto__.y=Polluted"]);
```

### Expected result:

Parsing the argument `--__proto__.y=Polluted`adds a `y` property with value `Polluted` to all objects which will raise an uncaught error and crashes the application.

## Remediation

Update Minimist to 0.2.1 or 1.2.3 or above.

## Credit

This issue was discovered and reported by Checkmarx Research Team.

## Resources

1. [Advisory](https://www.npmjs.com/advisories/1179)
2. [63e7ed0](https://github.com/substack/minimist/commit/63e7ed05aa4b1889ec2f3b196426db4500cbda94)
3. [38a4d1c](https://github.com/substack/minimist/commit/38a4d1caead72ef99e824bb420a2528eec03d9ab)

0  Medium Severity CVSS v3.1 Score

   5.6

CVSS v3.1 Vectors- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: Low

Advisory Timeline1. Fixed Mar 10, 2020 Fix commit was released

## Explore more findings

[27 Nov 2025 CVE-2025-34281  Stored Cross-Site Scripting (XSS) in ThingsBoard   6.2  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2025-34281/) [17 Jan 2025 CVE-2025-0825  HTTP Response Splitting in cpp-httplib   6.9  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2025-0825/) [17 Jun 2025 CVE-2025-6050  Stored Cross-Site Scripting (XSS) in Mezzanine CMS Admin Interface   4.8  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2025-6050/) [12 Dec 2024 CVE-2024-8374  Code Injection in UltiMaker Cura   7.8  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2024-8374/) [14 Nov 2024 CVE-2024-52526  Stored Cross-site Scripting in @LibreNMS/LibreNMS Services Tab   7.5  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2024-52526/) [14 Nov 2024 CVE-2024-51497  Stored Cross-site Scripting in @LibreNMS/LibreNMS Custom OID Tab   7.5  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2024-51497/) [14 Nov 2024 CVE-2024-51496  Reflected Cross-site Scripting in @LibreNMS/LibreNMS /wireless and /health endpoints   7.5  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2024-51496/) [  14 Nov 2024 CVE-2024-51495  Stored Cross-site Scripting in @LibreNMS/LibreNMS Device Overview `overwrite\_ip` Field   7.5  Visit the page ](https://checkmarx.com/zero/vulnerabilities/cve-2024-51495/) [14 Nov 2024 CVE-2024-51494  Stored Cross-site Scripting in @LibreNMS/LibreNMS Port Settings   7.5  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2024-51494/) [14 Nov 2024 CVE-2024-50352  Stored Cross-site Scripting in @LibreNMS/LibreNMS Services Section of Device Overview   7.5  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2024-50352/) [14 Nov 2024 CVE-2024-50351  Reflected Cross-site Scripting in @LibreNMS/LibreNMS Logs Tab   7.5  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2024-50351/) [14 Nov 2024 CVE-2024-50350  Stored Cross-site Scripting in @LibreNMS/LibreNMS Port Settings Port Group   7.5  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2024-50350/)
