PT-2023-12837 · Npm · Window-Control

Published

2023-01-04

·

Updated

2025-04-10

·

CVE-2022-25926

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions window-control versions prior to 1.4.5
Description The issue is related to Command Injection via the sendKeys function due to improper input sanitization. This affects an npm package that provides tools to manage window focus.
Recommendations For versions prior to 1.4.5, update to version 1.4.5 or later to resolve the issue. As a temporary workaround, consider disabling the sendKeys function until a patch is available. Restrict access to the sendKeys function to minimize the risk of exploitation.

Fix

OS Command Injection

Command Injection

Code Injection

Weakness Enumeration

Related Identifiers

CVE-2022-25926
GHSA-9MJX-WFQP-J5PH

Affected Products

Window-Control