GHSA-g2r4-phv7-5fgv
GitHub Security Advisory
Browsershot Local File Inclusion
✓ GitHub Reviewed
MODERATE
Has CVE
Advisory Details
Versions of the package spatie/browsershot before 5.0.1 are vulnerable to Improper Input Validation due to improper URL validation through the setUrl method.
An attacker can exploit this vulnerability by using leading whitespace (%20) before the file:// protocol, resulting in Local File Inclusion, which allows the attacker to read sensitive files on the server.
Affected Packages
Packagist
spatie/browsershot
Affected versions:
0
(fixed in 5.0.1)
Related CVEs
Key Information
5.0
/10
Dataset
Last updated: June 13, 2025 6:24 AM
Data from GitHub Advisory Database. This information is provided for research and educational purposes.