CVE-2020-7790
MEDIUM 5.3CVSS 3.1browsershot local file inclusion vulnerability
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.
- Published
- 11 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-rv74-mh27-4jpv
- Sources
- NVDJSONOSV GHSA-rv74-mh27-4jpvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | spatie | browsershotcpe:2.3:a:spatie:browsershot:*:*:*:*:*:*:*:* |
all versions | |
| OSV | Packagist | spatie/browsershot | < 3.40.1 | 3.40.1 |
References
- https://github.com/spatie/browsershot/issues/441%23issue-735049731 · Broken Link, WEB
- https://snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-1037064 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7790 · ADVISORY
- https://github.com/spatie/browsershot/pull/440 · WEB
- https://github.com/spatie/browsershot/commit/8d4bcfb1ff609921007f3fc11d80fcdad35598ac · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 11 Dec 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)