A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
The browserstack-cypress-cli is BrowserStack's CLI which allows users to run Cypress tests on BrowserStack. Versions prior to 1.36.4 are vulnerable to OS command injection via the cypress_config_file configuration parameter. In readCypressConfigUtil.js, the loadJsFile() function constructs a shell command by interpolating the user-controlled cypress_config_filepath value into a template literal, then executes it via child_process.execSync(). Shell metacharacters in the config path (specifically " and ;) allow breaking out of the quoted argument and injecting arbitrary commands. This issue has been fixed in version 1.36.6.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /browserstack/browserstack-cypress-cli/commit/6dbf8f9374c0e…
- github.com /browserstack/browserstack-cypress-cli/security/advisories/…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning