Vulnerability DatabaseGHSA-7xcx-6wjh-7xp2

GHSA-7xcx-6wjh-7xp2
JavaScript vulnerability analysis and mitigation

Overview

A command injection vulnerability was discovered in the standardVersion function of the standard-version npm package (GHSA-7xcx-6wjh-7xp2). The vulnerability was identified and reported by GitHub Engineer Erik Krogh Kristensen on May 19, 2020, and was publicly disclosed on July 12, 2020. The vulnerability affects versions prior to 8.0.1 of the standard-version package (GitHub Advisory).

Technical details

The vulnerability allows for command injection through the standardVersion function. The issue occurs when the function processes untrusted input, particularly in the releaseCommitMessageFormat parameter. A proof-of-concept demonstrates that an attacker can execute arbitrary commands by injecting shell commands through backticks in the releaseCommitMessageFormat option. This vulnerability is similar to command injection vulnerabilities found in other JavaScript libraries (Security Lab).

Impact

The vulnerability may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. This could potentially allow attackers to execute arbitrary commands on the affected system (GitHub Advisory).

Exploitability

A proof-of-concept exploit exists that demonstrates how an attacker can create arbitrary files on the system by injecting commands through the releaseCommitMessageFormat parameter. The vulnerability can be triggered by creating a specific configuration that includes malicious shell commands in backticks (Security Lab).

Mitigation and workarounds

The vulnerability has been fixed in version 8.0.1 of standard-version. The recommended remediation is to update to this version or later. For those unable to update immediately, it is recommended to avoid using APIs that can interpret strings as shell commands. The developers suggest using child_process.execFile instead of child_process.exec (GitHub Advisory).

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-48170CRITICAL9.1
  • JavaScript logoJavaScript
  • scim-patch
NoYesAug 07, 2026
CVE-2026-48007HIGH8.6
  • JavaScript logoJavaScript
  • @element-hq/element-call-embedded
NoYesAug 07, 2026
CVE-2026-69207MEDIUM5.3
  • JavaScript logoJavaScript
  • gemini-cli
NoYesAug 07, 2026
CVE-2026-71850MEDIUM4.8
  • JavaScript logoJavaScript
  • hono
NoYesAug 07, 2026
CVE-2026-71849LOW3.7
  • JavaScript logoJavaScript
  • hono
NoYesAug 07, 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