Browsershot Server-Side Request Forgery (SSRF) via setURL() Function
High severity
GitHub Reviewed
Published
Apr 4, 2025
to the GitHub Advisory Database
•
Updated Apr 4, 2025
Description
Published by the National Vulnerability Database
Apr 4, 2025
Published to the GitHub Advisory Database
Apr 4, 2025
Reviewed
Apr 4, 2025
Last updated
Apr 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