OS Command Injection Affecting @saltcorn/plugins-loader package, versions <1.0.0-beta.14


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SALTCORNPLUGINSLOADER-8162005
  • published4 Oct 2024
  • disclosed3 Oct 2024
  • creditUnknown

Introduced: 3 Oct 2024

CVE NOT AVAILABLE CWE-78  (opens in a new tab)

How to fix?

Upgrade @saltcorn/plugins-loader to version 1.0.0-beta.14 or higher.

Overview

@saltcorn/plugins-loader is a Saltcorn plugin loader

Affected versions of this package are vulnerable to OS Command Injection through the child_process.execSync function. An attacker can execute arbitrary commands on the server by injecting malicious input into the plugin name field during the plugin creation process.

CVSS Base Scores

version 4.0
version 3.1