Description
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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | wincred | < unspecified |
References
- https://github.com/rolangom/wincred/blob/3fd39186ee32add9c12046cdccf2765d19565335/index.ts%23L20Broken Link
- https://snyk.io/vuln/SNYK-JS-WINCRED-1078538Exploit, Third Party Advisory
- https://github.com/rolangom/wincred/blob/3fd39186ee32add9c12046cdccf2765d19565335/index.ts%23L20Broken Link
- https://snyk.io/vuln/SNYK-JS-WINCRED-1078538Exploit, Third Party Advisory
Timeline
- Published
- Jun 28, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified