VYPR
Critical severityNVD Advisory· Published Jan 9, 2023· Updated Apr 9, 2025

CVE-2022-25890

CVE-2022-25890

Description

All versions of the wifey npm package are vulnerable to command injection via the connect() function due to improper input sanitization.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

All versions of the wifey npm package are vulnerable to command injection via the connect() function due to improper input sanitization.

Vulnerability

Overview The wifey npm package, in all versions, contains a command injection vulnerability in its connect() function. This arises from improper sanitization of user-provided input, specifically the SSID parameter, which is passed to a system command without adequate validation [1][2].

Exploitation

An attacker can exploit this vulnerability by supplying a crafted SSID string containing shell metacharacters. The provided proof-of-concept demonstrates that a value like "';touch EXPLOITED;#" results in arbitrary command execution on the host system [2]. No authentication is required beyond the ability to call the connect() function, making the attack surface broad for any application using this package. The vulnerable function is typically invoked with user-controlled data.

Impact

Successful exploitation allows an attacker to execute arbitrary operating system commands with the privileges of the process running the wifey package. This can lead to complete compromise of the application and underlying system, including data exfiltration, installation of malware, or further lateral movement [2].

Mitigation

Status As of the publication date, there is no fixed version available for wifey [2]. The package remains vulnerable in all releases. Users should consider replacing the package with an alternative that performs proper input sanitization or avoid using wifey in production environments.

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
wifeynpm
<= 2.0.7

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.