{"id":"GHSA-4x6x-782q-jfc4","aliases":[],"status":"published","title":"Command Injection in node-wifi","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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77"],"published":"2020-09-03T02:38:47Z","modified":"2023-01-09T05:03:56Z","fixes":[{"ecosystem":"npm","package":"node-wifi","fixed_in":["2.0.12"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"node-wifi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.12"}]}]},{"source":"osv","ecosystem":"npm","package":"node-wifi","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.12"}]}]}],"references":[{"url":"https://www.npmjs.com/advisories/952","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4x6x-782q-jfc4"}],"sources":{"ghsa":[{"id":"GHSA-4x6x-782q-jfc4","title":"Command Injection in node-wifi","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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","status":"published","published":"2020-09-03T02:38:47Z","modified":"2023-01-09T05:03:56Z","cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:07.581563Z"}],"osv":[{"id":"GHSA-4x6x-782q-jfc4","title":"Command Injection in node-wifi","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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","status":"published","published":"2020-09-03T02:38:47Z","modified":"2020-08-31T18:41:45Z","cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:37.528068Z"}]}}
