CVE-2022-25926
window-control vulnerable to Command Injection due to improper input sanitization
Versions of the package window-control before 1.4.5 are vulnerable to Command Injection via the sendKeys function, due to improper input sanitization.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.4
Versions of the package window-control before 1.4.5 are vulnerable to Command Injection via the sendKeys function, due to improper input sanitization.
- Record
CVE-2022-25926- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P - Weakness
- CWE-78, CWE-94
- Updated
- 2026-11-02
EUVDEUVD-2023-0433
7.4
Versions of the package window-control before 1.4.5 are vulnerable to Command Injection via the sendKeys function, due to improper input sanitization.
- Record
EUVD-2023-0433- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-9mjx-wfqp-j5ph
7.8
window-control vulnerable to Command Injection due to improper input sanitization
window-control is an npm package that provides tools to manage window focus. Versions before 1.4.5 are vulnerable to Command Injection via the sendKeys function due to improper input sanitization.
- Record
GHSA-9mjx-wfqp-j5ph- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
NVD
7.4
Versions of the package window-control before 1.4.5 are vulnerable to Command Injection via the sendKeys function, due to improper input sanitization.
- Record
CVE-2022-25926- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-78, CWE-94
- Updated
- 2026-11-02
OSV
7.4
Versions of the package window-control before 1.4.5 are vulnerable to Command Injection via the sendKeys function, due to improper input sanitization.
- Record
CVE-2022-25926- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P - Weakness
- CWE-78
- Updated
- 2026-11-02
OSVGHSA-9mjx-wfqp-j5ph
7.8
window-control vulnerable to Command Injection due to improper input sanitization
window-control is an npm package that provides tools to manage window focus. Versions before 1.4.5 are vulnerable to Command Injection via the sendKeys function due to improper input sanitization.
- Record
GHSA-9mjx-wfqp-j5ph- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
window-controlnpm |
before 1.4.5 | 1.4.5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-25926 is a high vulnerability (CVSS 7.4) in Window-control Project Window-control, published January 4, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.11%, the 66th percentile. Fixed in window-control 1.4.5.
References
security.snyk.io/vuln/SNYK-JS-WINDOWCONTROL-3186345
github.com/bruno-robert/window-control/commit/075c854534a749d887655a906759f5a7eee95173
github.com/bruno-robert/window-control/releases/tag/v1.4.5
nvd.nist.gov/vuln/detail/CVE-2022-25926
github.com/advisories/GHSA-9mjx-wfqp-j5ph
github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25926.json
github.com/bruno-robert/window-control