CVE-2022-25908
Description
All versions of the package create-choo-electron are vulnerable to Command Injection via the devInstall function due to improper user-input sanitization.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Command injection in create-choo-electron's devInstall function allows attackers to execute arbitrary commands via unsanitized user input.
Vulnerability
Overview
The create-choo-electron package is vulnerable to command injection in all versions via the devInstall function. The root cause is improper sanitization of user-supplied input, allowing an attacker to inject arbitrary operating system commands [1][2].
Exploitation
The vulnerability can be triggered by passing a crafted string to the devInstall function. For example, a proof-of-concept demonstrates injecting the command & touch JHU as part of the arguments array [2]. This requires the attacker to control the input parameters, which typically occurs when the package is used in a development environment that processes untrusted data.
Impact
Successful exploitation enables arbitrary command execution on the host system under the privileges of the user running the application. This could lead to full system compromise, data exfiltration, or further lateral movement within the network.
Mitigation
As of the latest disclosure, no patched version of create-choo-electron is available [2]. The maintainers have not released a fix, so users are advised to avoid using this package or to implement strict input validation and sanitization as a workaround [1].
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
create-choo-electronnpm | <= 2.0.0 | — |
Affected products
3- create-choo-electron/create-choo-electrondescription
- Range: all
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3News mentions
0No linked articles in our index yet.