Command Injection via `format` option in screenshot-desktop
bencevans screenshot-desktop
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| screenshot-desktop npm |
|
|
Original description
screenshot-desktop allows capturing a screenshot of your local machine. This vulnerability is a command injection issue. When user-controlled input is passed into the format option of the screenshot function, it is interpolated into a shell command without sanitization. This results in arbitrary command execution with the privileges of the calling process. This vulnerability is fixed in 1.15.2.
From the CVE record · GitHub_M