# CVE-2020-7790: browsershot local file inclusion vulnerability

Source: https://junglewise.ai/threats/cve-2020-7790-browsershot-local-file-inclusion-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2020-7790 · Severity: low · CVSS 3.1 · Published 2022-05-24

browsershot local file inclusion vulnerability

Technologies: [spatie/browsershot (Packagist)](https://junglewise.ai/threats/technologies/spatie-browsershot). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2020-7790 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-7790 being exploited in the wild.

**How severe is CVE-2020-7790?** Low severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** spatie/browsershot (Packagist) ECOSYSTEM:introduced=0,fixed=3.40.1.

**Is there a fix for CVE-2020-7790?** Yes. spatie/browsershot (Packagist): upgrade to 3.40.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-7790?** Check whether you run spatie/browsershot (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- spatie/browsershot (Packagist): upgrade to 3.40.1 or later

  ```sh
  composer require spatie/browsershot:^3.40.1
  ```


## Affected products

- spatie/browsershot (Packagist) ECOSYSTEM:introduced=0,fixed=3.40.1

## Identifiers

- CVE-2020-7790
- GHSA-rv74-mh27-4jpv

## Related threats

- [Browsershot Server-Side Request Forgery (SSRF) via setURL() Function](https://junglewise.ai/threats/cve-2025-3192-browsershot-server-side-request-forgery-ssrf-via-seturl-function)
- [Browsershot Local File Inclusion](https://junglewise.ai/threats/cve-2025-1026-browsershot-local-file-inclusion)
- [Browsershot Path Traversal](https://junglewise.ai/threats/cve-2025-1022-browsershot-path-traversal)
- [Browsershot Improper Input Validation vulnerability](https://junglewise.ai/threats/cve-2024-21549-browsershot-improper-input-validation-vulnerability)
- [Spatie Browsershot Directory Traversal vulnerability](https://junglewise.ai/threats/cve-2024-21547-spatie-browsershot-directory-traversal-vulnerability)
