GitHub Advisory Database
GHSA-v85c-hgq5-7pfw
Arbitrary Command Injection
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | wincred | All versions up to and including 1.0.2 |