Vulnerability DatabaseGHSA-cfwc-xjfp-44jg

GHSA-cfwc-xjfp-44jg
JavaScript vulnerability analysis and mitigation

Overview

A critical command injection vulnerability was identified in the gnuplot npm package (GHSA-cfwc-xjfp-44jg). The vulnerability affects all versions of the package and was discovered and published to the GitHub Advisory Database on September 4, 2020, with the latest update on January 9, 2023. This security issue impacts all versions of the gnuplot package (>=0.0.0) with no patched versions available (GitHub Advisory).

Technical details

The vulnerability stems from the package's failure to properly sanitize plot titles, which creates a command injection vulnerability (CWE-77). When title values are supplied by users, attackers can potentially execute arbitrary system commands. A proof-of-concept demonstrates that by manipulating the title parameter with a specially crafted string containing system commands, arbitrary code execution is possible (GitHub Advisory).

Impact

The vulnerability has been classified as Critical severity. If exploited, attackers can execute arbitrary system commands through the gnuplot package, potentially leading to complete system compromise when the title value is user-controlled (GitHub Advisory, NPM Advisory).

Exploitability

A proof-of-concept exploit exists that demonstrates the vulnerability by creating a test file in the current directory using a maliciously crafted title parameter. The exploit leverages the unsanitized title input to execute system commands through the gnuplot package (GitHub Advisory).

Mitigation and workarounds

Currently, no fix is available for this vulnerability. The recommended mitigation strategy is to consider using an alternative package until a security fix is made available (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-54504HIGH8.8
  • JavaScript logoJavaScript
  • @andrea9293/mcp-documentation-server
NoYesSep 17, 2026
CVE-2026-77615HIGH8.7
  • JavaScript logoJavaScript
  • paella-core
NoYesSep 17, 2026
CVE-2026-91127HIGH8.2
  • JavaScript logoJavaScript
  • @file-viewer/doc
NoYesSep 18, 2026
CVE-2026-77301HIGH7.5
  • JavaScript logoJavaScript
  • adm-zip
NoYesSep 18, 2026
CVE-2026-84992MEDIUM6.1
  • JavaScript logoJavaScript
  • md-editor-v3
NoYesSep 18, 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