Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
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 applicationsLearn about Arbitrary Command Injection vulnerabilities in an interactive lesson.
Start learningUpgrade screenshot-desktop
to version 1.15.2 or higher.
screenshot-desktop is a Capture a screenshot of your local machine
Affected versions of this package are vulnerable to Arbitrary Command Injection via the format
option in the Snapshot
functions. An attacker can execute arbitrary commands with the privileges of the calling process by supplying crafted input to this option.
{ format: "; echo vulnerable > /tmp/hello;" }