Live threats

All CVEs / Spatie

CVE-2020-7790Spatie Browsershot

Medium 5.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Browsershot.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
spatiebrowsershotall

Official sources

References

Links published by the sources. Open them with care.