This affects all versions of package wincred. If attacker-controlled user input is given to the getCredential function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
{
"cwe_ids": [
"CWE-20"
],
"github_reviewed": true,
"github_reviewed_at": "2021-06-29T17:20:39Z",
"nvd_published_at": "2021-06-28T08:15:00Z",
"severity": "CRITICAL"
}