Skip to main content
← All vulnerabilities
CVE-2025-55294GHSA-GJX4-2C7G-FM94

Command Injection via `format` option in screenshot-desktop

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.15.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • bencevans screenshot-desktop

    fixed in 1.15.2

  • screenshot-desktopnpm

    fixed in 1.15.2

References 2

GitHub · bencevans/screenshot-desktop