{"id":"GHSA-9mjx-wfqp-j5ph","summary":"window-control vulnerable to Command Injection due to improper input sanitization","details":"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.","aliases":["CVE-2022-25926"],"modified":"2023-11-08T04:08:52.317845Z","published":"2023-01-04T18:30:59Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-01-06T21:39:16Z","nvd_published_at":"2023-01-04T18:15:00Z","cwe_ids":["CWE-77"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25926"},{"type":"WEB","url":"https://github.com/bruno-robert/window-control/commit/075c854534a749d887655a906759f5a7eee95173"},{"type":"PACKAGE","url":"https://github.com/bruno-robert/window-control"},{"type":"WEB","url":"https://github.com/bruno-robert/window-control/releases/tag/v1.4.5"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-WINDOWCONTROL-3186345"}],"affected":[{"package":{"name":"window-control","ecosystem":"npm","purl":"pkg:npm/window-control"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-9mjx-wfqp-j5ph/GHSA-9mjx-wfqp-j5ph.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}