Spatie Browsershot Directory Traversal vulnerability
High severity
GitHub Reviewed
Published
Dec 18, 2024
to the GitHub Advisory Database
•
Updated Dec 18, 2024
Description
Published by the National Vulnerability Database
Dec 18, 2024
Published to the GitHub Advisory Database
Dec 18, 2024
Reviewed
Dec 18, 2024
Last updated
Dec 18, 2024
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