GitHub Advisoryadvisory · Packagist

GHSA-rv74-mh27-4jpv browsershot local file inclusion vulnerability

MEDIUM Published 2022-05-24 Modified 2024-02-01 Official page ↗
Aliases
CVE-2020-7790
Ecosystem
Packagist
Packages
spatie/browsershot
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-22
Reviewed
2024-02-01

Affected packages

• Packagist spatie/browsershot: < 3.40.1 → fixed in 3.40.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2020-7790 This affects the package spatie/browsershot from 0.0.0. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References