# CVE-2022-25926: window-control vulnerable to Command Injection due to improper input sanitization

- Severity: High 7.4 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.11%, higher than 66% of CVEs (2026-12-01)
- Published: 2023-01-04T17:01:54.603Z
- Modified: 2026-06-17T04:34:30.113Z
- Also known as: GHSA-9mjx-wfqp-j5ph
- Weaknesses: CWE-77, CWE-78, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: snyk

## Description

Versions of the package window-control before 1.4.5 are vulnerable to Command Injection via the sendKeys function, due to improper input sanitization.

(As written by CVE List.)

## Affected

- window-control: before 1.4.5
- window-control (npm): before 1.4.5
- window-control_project window-control: before 1.4.5

## Every score

- snyk: 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`
- GitHub: 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`
- NVD: 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`

## References

- <https://security.snyk.io/vuln/SNYK-JS-WINDOWCONTROL-3186345> (third-party-advisory, web)
- <https://github.com/bruno-robert/window-control/commit/075c854534a749d887655a906759f5a7eee95173> (patch, third-party-advisory, web)
- <https://github.com/bruno-robert/window-control/releases/tag/v1.4.5> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25926> (advisory)
- <https://github.com/bruno-robert/window-control> (package)

## Sources

- CVE List: [CVE-2022-25926](https://www.cve.org/CVERecord?id=CVE-2022-25926), CVE Terms of Use, modified 2025-04-10
- GitHub Advisory Database: [GHSA-9mjx-wfqp-j5ph](https://github.com/advisories/GHSA-9mjx-wfqp-j5ph), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-25926](https://nvd.nist.gov/vuln/detail/CVE-2022-25926), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25926 · Whole record: https://cve.day/CVE-2022-25926.json · Rebuilt by cve.day 2026-11-25T22:58:18.029Z
