CVE-2020-7790 json
Arbitrary File Read
published 2020-12-11 5 y ago modified 2026-06-17 4 mo ago also GHSA-rv74-mh27-4jpv , EUVD-2022-5235
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
This affects the package spatie/browsershot from 0.0.0. By specifying a URL in the file:// protocol an attacker is able to include arbitrary files in the resultant PDF.
Patch / fix
- packagist spatie/browsershot 3.40.1
- github.com/spatie/browsershot@8d4bcfb commit
- github.com/spatie/browsershot#440 pull request
Exploit prediction
1.03% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | spatie/browsershot | <3.40.1 |
3.40.1 |
Affected products
- n/a spatie/browsershot
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/spatie/browsershot/pull/440
web
-
github.com
/spatie/browsershot/commit/8d4bcfb1ff609921007f3fc11d80fcdad35598ac
web
-
snyk.io
/vuln/SNYK-PHP-SPATIEBROWSERSHOT-1037064
web, third-party-advisory
-
github.com
/spatie/browsershot/issues/441%23issue-735049731
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2020-7790
advisory
Sources
- CVE List CVE-2020-7790
- GitHub Advisory GHSA-rv74-mh27-4jpv
- NVD CVE-2020-7790
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.