bruno-robert/window-control · Security
window-control vulnerable to Command Injection due to improper input sanitization
- GHSA ID
- GHSA-9mjx-wfqp-j5ph
- CVE ID
- CVE-2022-25926
- Severity
- high
- Published
- Updated
- CVSS
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
CWEs
- CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25926 ↗
- https://github.com/bruno-robert/window-control/commit/075c854534a749d887655a906759f5a7eee95173 ↗
- https://github.com/bruno-robert/window-control/releases/tag/v1.4.5 ↗
- https://security.snyk.io/vuln/SNYK-JS-WINDOWCONTROL-3186345 ↗
- https://github.com/advisories/GHSA-9mjx-wfqp-j5ph ↗