{"id":"CVE-2022-25926","aliases":["EUVD-2023-0433","GHSA-9mjx-wfqp-j5ph"],"status":"published","title":"window-control vulnerable to Command Injection due to improper input sanitization","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.","severity":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01108,"percentile":0.66152,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77","CWE-78","CWE-94"],"published":"2023-01-04T17:01:54Z","modified":"2026-10-28T02:31:08Z","fixes":[{"ecosystem":"npm","package":"window-control","fixed_in":["1.4.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"window-control","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.5"}]}]},{"source":"osv","ecosystem":"npm","package":"window-control","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.5"}]}]}],"products":[{"vendor":"window-control_project","product":"window-control"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-WINDOWCONTROL-3186345","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/bruno-robert/window-control/commit/075c854534a749d887655a906759f5a7eee95173","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/bruno-robert/window-control/releases/tag/v1.4.5","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25926","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9mjx-wfqp-j5ph"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25926.json","tags":["advisory"]},{"url":"https://github.com/bruno-robert/window-control","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-25926","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.\r\r","status":"published","published":"2023-01-04T17:01:54.603Z","modified":"2025-04-10T14:00:38.462Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high","assessor":"cna"}],"cwes":["CWE-78","CWE-94"],"updated_at":"2026-11-02T14:34:28.707644Z"}],"euvd":[{"id":"EUVD-2023-0433","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.\r\r","status":"published","published":"2023-01-04T17:01:54Z","modified":"2025-04-10T14:00:38Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high"}],"updated_at":"2026-11-02T20:52:37.204811Z"}],"ghsa":[{"id":"GHSA-9mjx-wfqp-j5ph","title":"window-control vulnerable to Command Injection due to improper input sanitization","description":"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.","status":"published","published":"2023-01-04T18:30:59Z","modified":"2023-08-17T05:02:41Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:37:00.074932Z"}],"nvd":[{"id":"CVE-2022-25926","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.\r\r","status":"published","published":"2023-01-04T18:15:09.027Z","modified":"2026-06-17T04:34:30.113Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-78","CWE-94"],"updated_at":"2026-11-02T14:07:34.758863Z"}],"osv":[{"id":"CVE-2022-25926","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.\r\r","status":"published","published":"2023-01-04T17:01:54.603Z","modified":"2026-10-28T02:31:08.513929096Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:44:24.758293Z"},{"id":"GHSA-9mjx-wfqp-j5ph","title":"window-control vulnerable to Command Injection due to improper input sanitization","description":"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.","status":"published","published":"2023-01-04T18:30:59Z","modified":"2023-11-08T04:08:52.317845Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:43.875515Z"}]}}
