Path Traversal in Spatie/browsershot
CVE-2024-21547
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 /.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.009 (59.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 60th percentile — 59.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: +0.000
Affected products
- Spatie/browsershot — versions 0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-21547?
- CVE-2024-21547 is a high-severity vulnerability in Spatie/browsershot, classified under Path Traversal. CVSS score: 7.5/10. Published 2024-12-18.
- How severe is CVE-2024-21547?
- High severity. CVSS v3 base score is 7.5 out of 10.