Skip to content

window-control vulnerable to Command Injection due to improper input sanitization

High severity GitHub Reviewed Published Jan 4, 2023 to the GitHub Advisory Database • Updated Aug 17, 2023

Package

npm window-control (npm)

Affected versions

< 1.4.5

Patched versions

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.

References

Published by the National Vulnerability Database Jan 4, 2023
Published to the GitHub Advisory Database Jan 4, 2023
Reviewed Jan 6, 2023
Last updated Aug 17, 2023

Severity

High
7.8
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2022-25926

GHSA ID

GHSA-9mjx-wfqp-j5ph
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.