{"id":"CVE-2022-25926","aliases":["CVE-2022-25926","GHSA-9mjx-wfqp-j5ph"],"related":[],"kind":"vulnerability","state":"published","title":"window-control vulnerable to Command Injection due to improper input sanitization","summary":"Versions of the package window-control before 1.4.5 are vulnerable to Command Injection via the sendKeys function, due to improper input sanitization.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Versions of the package window-control before 1.4.5 are vulnerable to Command Injection via the sendKeys function, due to improper input sanitization.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones del paquete window-control anteriores a la 1.4.5 son vulnerables a la inyección de comandos a través de la función sendKeys, debido a una desinfección de entrada inadecuada.","source":"nvd"}],"published":"2023-01-04T17:01:54.603Z","modified":"2026-06-17T04:34:30.113Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-77","CWE-78","CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.4.5","status":"affected"}],"product":"window-control","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.5"}],"ecosystem":"npm","package":"window-control","purl":"pkg:npm/window-control","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.4.5"}],"vendor":"window-control_project","product":"window-control","cpe":"cpe:2.3:a:window-control_project:window-control:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-WINDOWCONTROL-3186345","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/bruno-robert/window-control/commit/075c854534a749d887655a906759f5a7eee95173","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/bruno-robert/window-control/releases/tag/v1.4.5","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25926","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/bruno-robert/window-control","tags":["package"],"sources":["ghsa"]}],"credits":["JHU System Security Lab"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-04-10T13:59:06.598Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25926","url":"https://www.cve.org/CVERecord?id=CVE-2022-25926","licence":"CVE Terms of Use","modified":"2025-04-10T14:00:38.462Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9mjx-wfqp-j5ph","url":"https://github.com/advisories/GHSA-9mjx-wfqp-j5ph","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:52.317Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25926","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25926","licence":"Public domain","modified":"2026-06-17T04:34:30.113Z"}],"updatedAt":"2026-11-25T22:58:18.029Z","epss":{"score":0.01108,"percentile":0.66806,"date":"2026-12-01T12:00:22.000Z"}}