Versions of the package window-control before 1.4.5 are vulnerable to Command Injection via the sendKeys function, due to improper input sanitization.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Link | Tags |
---|---|
https://security.snyk.io/vuln/SNYK-JS-WINDOWCONTROL-3186345 | third party advisory |
https://github.com/bruno-robert/window-control/commit/075c854534a749d887655a906759f5a7eee95173 | third party advisory patch |
https://github.com/bruno-robert/window-control/releases/tag/v1.4.5 | third party advisory |