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.
No fix is currently available. Consider using an alternative package until a fix is made available.
{
"cwe_ids": [
"CWE-77"
],
"github_reviewed": true,
"github_reviewed_at": "2020-08-31T18:41:45Z",
"nvd_published_at": null,
"severity": "CRITICAL"
}