PT-2024-18958 · Spatie · Spatie/Browsershot
CVSS v4.0
7.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P |
Name of the Vulnerable Software and Affected Versions
spatie/browsershot versions prior to 5.0.2
Description
The issue is related to Directory Traversal due to URI normalization in the browser. An attacker could bypass the file:// check with file:, allowing access to server files by exploiting the normalization of into /.
Recommendations
For versions prior to 5.0.2, update to version 5.0.2 or later to resolve the issue. As a temporary workaround, consider restricting access to sensitive files on the server until the update is applied.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Spatie/Browsershot