Description
Versions of the package spatie/browsershot before 5.0.2 are vulnerable to Directory Traversal due to URI normalisation in the browser where the file:// check can be bypassed with file:\\. An attacker could read any file on the server by exploiting the normalization of \ into /.
References (3)
Core 3
Core References
Third Party Advisory
https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8501858
Scores
CVSS v3
7.5
EPSS
0.0005
EPSS Percentile
15.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (2)
n/a/spatie/browsershot
< 5.0.2
spatie/browsershot
0 - 5.0.2Packagist
Published
Dec 18, 2024
Tracked Since
Feb 18, 2026