Vulnerability DatabaseGHSA-fm76-w8jw-xf8m

GHSA-fm76-w8jw-xf8m
JavaScript vulnerability analysis and mitigation

Overview

A remote code execution (RCE) vulnerability was discovered in @saltcorn/plugins-loader versions <= 1.0.0-beta.13. The vulnerability occurs when creating new plugins using the git source, where an unsanitized plugin name from user input is used to build the plugin directory path for git clone operations (GitHub Advisory).

Technical details

The vulnerability stems from the use of child_process.execSync API with unsanitized user input. When creating a new plugin, the req.body.name value is passed through multiple components without proper validation and ultimately used to construct the plugin directory path. This path is then used in a git clone command executed via execSync, allowing command injection through specially crafted plugin names (GitHub Advisory).

Impact

An attacker with admin privileges can execute arbitrary commands on the system by injecting malicious commands into the plugin name field when creating a new plugin with git source. This allows for remote code execution on the affected system (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.0.0-beta.14. The fix involves sanitizing the pluginDir value before passing it to execSync, or alternatively using the child_process.execFileSync API which is more secure for executing commands with arguments (GitHub Advisory, GitHub Commit).

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-23947CRITICAL9.3
  • JavaScriptJavaScript
  • @orval/core
NoYesJan 20, 2026
CVE-2026-23950HIGH8.8
  • JavaScriptJavaScript
  • grafana-graphite
NoYesJan 20, 2026
CVE-2026-22037HIGH8.4
  • JavaScriptJavaScript
  • @fastify/express
NoYesJan 19, 2026
CVE-2026-23522LOW3.7
  • JavaScriptJavaScript
  • @lobehub/chat
NoNoJan 19, 2026
CVE-2025-66803LOW1.7
  • JavaScriptJavaScript
  • @hotwired/turbo
NoYesJan 20, 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