What’s Vulnerable › Vulnerabilities
CVE-2020-7758: Path Traversal
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-11-02 · updated 2026-06-17
- Weakness: CWE-22
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.
Affected products
- browserless-chrome: before 1.40.2 — fixed in 1.40.2
How to fix
Upgrade to a fixed version: browserless-chrome 1.40.2. Check the vendor advisory for mitigations.
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
- 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
Get alerted when CVE-2020-7758 or the next vulnerability affects your stack