GitHub Advisoryadvisory · npm
GHSA-9mjx-wfqp-j5ph window-control vulnerable to Command Injection due to improper input sanitization
HIGH
Official page ↗
- Aliases
- CVE-2022-25926
- Ecosystem
- npm
- Packages
- window-control
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-77
- Reviewed
- 2023-01-06
Affected packages
• npm window-control: < 1.4.5 → fixed in 1.4.5
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.
Related
Alias · CVE (1)
- CVE-2022-25926 Versions of the package window-control before 1.4.5 are vulnerable to Command Injection via the sendKeys function, due to improper input… vulnerability
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25926 advisory
- https://github.com/bruno-robert/window-control/commit/075c854534a749d887655a906759f5a7eee95173 web
- https://github.com/bruno-robert/window-control package
- https://github.com/bruno-robert/window-control/releases/tag/v1.4.5 web
- https://security.snyk.io/vuln/SNYK-JS-WINDOWCONTROL-3186345 web