Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. spatie/browsershot
  4. ›
  5. CVE-2025-3192

CVE-2025-3192: Browsershot Server-Side Request Forgery (SSRF) via setURL() Function

April 4, 2025

Versions of the package spatie/browsershot from 0.0.0 to 5.0.3 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

  • gist.github.com/JunMing27/651998a34d57fbf71ff9d25386f1da0f
  • github.com/advisories/GHSA-qw64-6vcc-8ghx
  • github.com/spatie/browsershot
  • nvd.nist.gov/vuln/detail/CVE-2025-3192
  • security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8548015

Code Behaviors & Features

Detect and mitigate CVE-2025-3192 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 5.0.3

Solution

Unfortunately, there is no solution available yet.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

packagist/spatie/browsershot/CVE-2025-3192.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:52 +0000.