Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade @wdio/browserstack-service to version 9.23.3 or higher.
@wdio/browserstack-service is a WebdriverIO service for better Browserstack integration
Affected versions of this package are vulnerable to Command Injection via the getGitMetadataForAISelection function. An attacker can execute arbitrary commands on the host system by supplying a malicious git repository with a branch name containing shell command payloads, which are then interpolated into shell commands without sanitization.