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.
Remediation
References
https://github.com/rolangom/wincred/blob/3fd39186ee32add9c12046cdccf2765d19565335/index.ts%23L20
https://snyk.io/vuln/SNYK-JS-WINCRED-1078538
Related Vulnerabilities
CVE-2022-39368 Vulnerability in maven package org.eclipse.californium:scandium
CVE-2022-25907 Vulnerability in npm package ts-deepmerge
CVE-2022-45384 Vulnerability in maven package org.jenkins-ci.plugins:reverse-proxy-auth-plugin
CVE-2023-39015 Vulnerability in maven package us.codecraft:webmagic-extension
CVE-2023-26472 Vulnerability in maven package org.xwiki.platform:xwiki-platform-icon-ui