PT-2023-12837 · Npm · Window-Control
CVE-2022-25926
·
Publicado
2023-01-04
·
Atualizado
2025-04-10
CVSS v3.1
7.8
Alta
| Vetor | AV: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.Exploit
Correção
OS Command Injection
Command Injection
Code Injection
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Window-Control