---
title: "CVE-2025-55294: screenshot-desktop vulnerable to command Injection via `format` option"
url: https://erroneo.us/security/cve/CVE-2025-55294/
description: "CVE-2025-55294 (screenshot-desktop (npm)): screenshot-desktop allows capturing a screenshot of your local machine. This vulnerability is a command injection…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-08-19
date_modified: 2025-08-19
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-55294"
kev: false
cvss: 9.8
epss: 0.01441
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-55294: screenshot-desktop vulnerable to command Injection via `format` option

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 1.4% , percentile 73: FIRST’s model estimates a 1.4% chance of exploitation activity in the next 30 days, higher than 73% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes screenshot-desktop (npm) < 1.15.2, fixed in 1.15.2 . Check your lockfile, including transitive dependencies.

## What it is

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

- npm `screenshot-desktop` < 1.15.2 → fixed: 1.15.2

## Affected products (CVE record)

- bencevans screenshot-desktop: < 1.15.2

## Severity

- GitHub_M CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.44% probability of exploitation activity in the next 30 days; percentile 73.

## Sources

- [GitHub Advisory GHSA-gjx4-2c7g-fm94](https://github.com/advisories/GHSA-gjx4-2c7g-fm94)
- [CVE.org record CVE-2025-55294](https://www.cve.org/CVERecord?id=CVE-2025-55294)
- [NVD entry CVE-2025-55294](https://nvd.nist.gov/vuln/detail/CVE-2025-55294)
- [github.com](https://github.com/bencevans/screenshot-desktop/security/advisories/GHSA-gjx4-2c7g-fm94)
- [github.com](https://github.com/bencevans/screenshot-desktop/commit/59c87b0c175eec76090e6ccde313f4fc5d569b78)

---
Source page: https://erroneo.us/security/cve/CVE-2025-55294/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
