Advisory

GHSA-9mjx-wfqp-j5ph

Also known as: CVE-2022-25926

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-01-04 18:30 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

window-control

npm · All systems

Affected

  • introduced 0, fixed 1.4.5 (semver)

Fixed versions

1.4.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences