GitHub Advisoryadvisory · Packagist

GHSA-8c2c-jxwj-jqgf Browsershot does not validate URL protocols passed to Browsershot URL method

HIGH Published 2022-11-25 Modified 2025-04-29 Official page ↗
Aliases
CVE-2022-41706
Ecosystem
Packagist
Packages
spatie/browsershot
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Weaknesses
CWE-20, CWE-79
Reviewed
2022-12-02

Affected packages

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

Description

Browsershot version 3.57.2 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate the URL protocol passed to the Browsershot::url method.

Related

Alias · CVE (1)

  • CVE-2022-41706 Browsershot version 3.57.2 allows an external attacker to remotely obtain arbitrary local files. vulnerability

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References