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.
References
https://nvd.nist.gov/vuln/detail/CVE-2022-2…