GitHub Advisory Database
GHSA-qw64-6vcc-8ghx
Browsershot Server-Side Request Forgery (SSRF) via setURL() Function
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | spatie/browsershot | All versions up to and including 5.0.3 |