Skip to content

CVE-2025-55294 Command Injection via `format` option in screenshot-desktop

CriticalCVSS 9.8 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm screenshot-desktop(npm) < 1.15.2 1.15.2 Fixed
bencevans screenshot-desktop = < 1.15.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm screenshot-desktop(npm) < 1.15.2 1.15.2
bencevans screenshot-desktop = < 1.15.2 No fix listed

References