{"id":"CVE-2025-55294","published":"2025-08-19T17:34:54Z","modified":"2025-08-19T20:03:52Z","title":"Command Injection via `format` option in screenshot-desktop","vendor":"bencevans","product":"screenshot-desktop","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01422,"percentile":0.73522,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/bencevans/screenshot-desktop/security/advisories/GHSA-gjx4-2c7g-fm94","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bencevans/screenshot-desktop/commit/59c87b0c175eec76090e6ccde313f4fc5d569b78","tags":["x_refsource_MISC"]}],"priority":{"score":21.6,"factors":[{"name":"EPSS percentile","points":14.7},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"bencevans","affectedVersions":[{"vendor":"bencevans","product":"screenshot-desktop","versions":["< 1.15.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-08-19T20:03:45.655008Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"screenshot-desktop","vulnerableRanges":["<1.15.2"],"patched":["1.15.2"],"from":["GHSA-gjx4-2c7g-fm94"],"provenance":"source"}],"summary":{"text":"A command injection flaw in the screenshot-desktop package from bencevans lets user-controlled input passed to the format option of its screenshot function be interpolated unsanitized into a shell command. An attacker who can supply that input can execute arbitrary commands with the privileges of the calling process, requiring no authentication or user interaction over the network, provided the application passes untrusted input into the format option.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:48:30Z"},"euvd":{"id":"EUVD-2025-25196","exploited":false,"provenance":"source"}}