What’s Vulnerable › Vulnerabilities
CVE-2021-23399: Arbitrary Command Injection
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-06-28 · updated 2026-06-17
- Weakness: CWE-78
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.
Affected products
- wincred: all versions
References
- https://github.com/rolangom/wincred/blob/3fd39186ee32add9c12046cdccf2765d19565335/index.ts%23L20
- https://snyk.io/vuln/SNYK-JS-WINCRED-1078538
- https://github.com/rolangom/wincred/blob/3fd39186ee32add9c12046cdccf2765d19565335/index.ts%23L20
- https://snyk.io/vuln/SNYK-JS-WINCRED-1078538
Get alerted when CVE-2021-23399 or the next vulnerability affects your stack