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)
EPSS: 0.009 (56.8th percentile) — read the EPSS interpretation.
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.
Affected products
- N/a 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.