CVE-2024-21547
HIGH EPSS 55.3%
Published Dec 18, 20241y ago · Modified Jun 17, 20262w ago
7.7 CVSS 4.0
Published Dec 18, 2024 1y ago
Last Modified Jun 17, 2026 2w ago
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 /.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X
Threat Intelligence
EPSS Exploit Probability
55.3% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-22 Path Traversal Resource Mgmt
References 3
- gist.github.com https://gist.github.com/chuajianshen/baa71db588cfc038fb5d65624a47be81
- github.com https://github.com/spatie/browsershot/commit/dfc3635b83dd980e5c39f8f8c73e87723b99ca01
- security.snyk.io https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8501858
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.