CVE-2020-7602
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability CVE-2020-7602 affects the node-prompt-here package, which is designed to open a console window at a given absolute directory. The vulnerability was discovered and disclosed on March 13, 2020. This security flaw allows for command injection attacks, potentially enabling attackers to execute arbitrary commands (Snyk).

Technical details

The vulnerability exists in the runCommand() function called by getDevices() in the linux/manager.js file. The issue stems from insufficient sanitization of the process.env.NM_CLI parameter, which is directly used to construct arguments for the execSync() function. This allows user-controlled input to be executed without proper validation (Snyk). The vulnerability has been assigned a CVSS v3.1 base score of 5.9 (medium) by Snyk and 9.8 (critical) by NVD, indicating significant severity.

Impact

If successfully exploited, this vulnerability can lead to command injection attacks, potentially resulting in total loss of confidentiality of the affected system. An attacker could execute arbitrary commands with the privileges of the application running the vulnerable package (Snyk).

Mitigation and workarounds

There is currently no fixed version available for the node-prompt-here package. Users are advised to consider using alternative packages or implementing additional input validation controls (Snyk).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23744CRITICAL9.8
  • JavaScriptJavaScript
  • @mcpjam/inspector
NoYesJan 16, 2026
CVE-2026-23735HIGH8.7
  • JavaScriptJavaScript
  • graphql-modules
NoYesJan 16, 2026
GHSA-gw32-9rmw-qwwwHIGH8.4
  • JavaScriptJavaScript
  • svelte
NoYesJan 16, 2026
CVE-2026-23745HIGH8.2
  • JavaScriptJavaScript
  • argo-workflows-fips-3.6
NoYesJan 16, 2026
GHSA-38cw-85xc-xr9xMEDIUM6.8
  • JavaScriptJavaScript
  • @veramo/data-store
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management