{"id":"GHSA-4x6x-782q-jfc4","aliases":["GHSA-4x6x-782q-jfc4"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in node-wifi","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T02:38:47.000Z","modified":"2020-08-31T18:41:45.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.12"}],"ecosystem":"npm","package":"node-wifi","purl":"pkg:npm/node-wifi","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/952","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4x6x-782q-jfc4","url":"https://github.com/advisories/GHSA-4x6x-782q-jfc4","licence":"CC-BY-4.0","modified":"2020-08-31T18:41:45.000Z"}],"updatedAt":"2026-11-25T22:56:44.083Z"}