Description
This affects versions of package browserless-chrome before 1.40.2-chrome-stable. User input flowing from the workspace endpoint gets used to create a file path filePath and this is fetched and then sent back to a user. This can be escaped to fetch arbitrary files from a server.
Remediation
References
https://github.com/browserless/chrome/blob/master/src/routes.ts%23L175
https://github.com/browserless/chrome/commit/848b87e5bea4f8473eea85261a5ff922d6ebd2b6
https://github.com/browserless/chrome/releases/tag/1.40.2-chrome-stable
https://snyk.io/vuln/SNYK-JS-BROWSERLESSCHROME-1023657
Related Vulnerabilities
CVE-2012-2098 Vulnerability in maven package org.apache.commons:commons-compress
CVE-2019-3875 Vulnerability in maven package org.keycloak:keycloak-services
CVE-2022-41929 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore
CVE-2023-36470 Vulnerability in maven package org.xwiki.platform:xwiki-platform-icon-script
CVE-2023-23936 Vulnerability in maven package org.webjars.npm:undici