CVE-2025-55294
screenshot-desktop vulnerable to command Injection via `format` option
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | screenshot-desktop | 1.15.2 |