CVE-2020-7790Spatie Browsershot
Medium 5.3 No auth needed
Follow: this CVE · Spatie · Spatie Browsershot We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 65
- Auth required
- No
- Published
- Dec 11, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Browsershot.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | spatie/browsershot |
< 3.40.1 |
3.40.1 |
composer require "spatie/browsershot:^3.40.1" |
Per OSV / GitHub Advisories (GHSA-rv74-mh27-4jpv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| spatie | browsershot | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Broken Link
- snyk.io Third Party Advisory