PT-2024-18958 · Spatie · Spatie/Browsershot

·

CVE-2024-21547

·

Published

2024-12-18

·

Updated

2024-12-23

CVSS v4.0

7.7

High

VectorAV: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

CVE-2024-21547
GHSA-V528-6RQ9-H6GW

Affected Products

Spatie/Browsershot