{"answers":{"affected":"2 open source packages ship an affected version, including screenshot-desktop.","exploited":"There is no known exploitation of CVE-2025-55294 in the wild and no public exploit code.","fix":"Upgrade screenshot-desktop to 1.15.2 or later.","what":"CVE-2025-55294 is a critical command injection vulnerability in bencevans screenshot-desktop, published on 19 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-55294 and fix it if it is affected.\n\nWhat it is: CVE-2025-55294 is a critical command injection vulnerability in bencevans screenshot-desktop, published on 19 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-55294 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- screenshot-desktop (npm): affected all versions; fixed in 1.15.2\n- screenshot-desktop (npm): affected all versions; fixed in 1.15.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-55294/ (Markdown: https://insights.sbomify.com/CVE-2025-55294/index.md)","id":"CVE-2025-55294","markdown":"https://insights.sbomify.com/CVE-2025-55294/index.md","name":"CVE-2025-55294","record":{"aliases":["GHSA-gjx4-2c7g-fm94"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js screenshot library","requires_auth":"none","summary":"Attackers can execute arbitrary commands by injecting malicious input into the format option of the screenshot function in this Node.js library.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Command Injection via `format` option in screenshot-desktop","id":"CVE-2025-55294","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"qBit Manage Path Traversal Vulnerability","id":"CVE-2025-55295"},"packages":[{"ecosystem":"npm","fixed":["1.15.2"],"introduced":["0"],"last_affected":[],"package":"screenshot-desktop","purl":null,"source":"GHSA-gjx4-2c7g-fm94"},{"ecosystem":"npm","fixed":["1.15.2"],"introduced":["0"],"last_affected":[],"package":"screenshot-desktop","purl":"pkg:npm/screenshot-desktop","source":"GHSA-gjx4-2c7g-fm94"}],"prev":{"headline":"Meshtastic allows crafting of specific NodeInfo packets that overwrite any publicKey saved in the NodeDB","id":"CVE-2025-55293"},"products":["screenshot-desktop"],"published":"2025-08-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-08-19","vendors":["bencevans"]},"summary":"Attackers can execute arbitrary commands by injecting malicious input into the format option of the screenshot function in this Node.js library.","url":"https://insights.sbomify.com/CVE-2025-55294/"}