Server-side Request Forgery (SSRF) Affecting spatie/browsershot package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SPATIEBROWSERSHOT-8548015
  • published3 Apr 2025
  • disclosed20 Dec 2024
  • creditNgan Jun Ming

Introduced: 20 Dec 2024

CVE-2025-3192  (opens in a new tab)
CWE-918  (opens in a new tab)
First added by Snyk

How to fix?

There is no fixed version for spatie/browsershot.

Overview

spatie/browsershot is a library for converting a webpage to an image or pdf using headless Chrome.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) in the setUrl() function due to a missing restriction on user input, enabling attackers to access localhost and list all of its directories.

References

CVSS Base Scores

version 4.0
version 3.1