# GHSA-4x6x-782q-jfc4: Command Injection in node-wifi

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T02:38:47.000Z
- Modified: 2020-08-31T18:41:45.000Z
- Weaknesses: CWE-77

## Description

Versions of `node-wifi` prior to 2.0.12 are vulnerable to Command Injection. The package fails to sanitize user input, allowing attackers to inject commands through the `ssid` variable and possibly achieving Remote Code Execution on the system.


## Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

(As written by GitHub Advisory Database.)

## Affected

- node-wifi (npm): before 2.0.12

## References

- <https://www.npmjs.com/advisories/952> (web)

## Sources

- GitHub Advisory Database: [GHSA-4x6x-782q-jfc4](https://github.com/advisories/GHSA-4x6x-782q-jfc4), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-4x6x-782q-jfc4 · Whole record: https://cve.day/GHSA-4x6x-782q-jfc4.json · Rebuilt by cve.day 2026-11-25T22:56:44.083Z
