All reports
High

Spatie Browsershot Directory Traversal vulnerability

Affected versions

Affected versions
< 5.0.2
Fixed version
5.0.2

Exploitation

CVE-2024-21547

Probability of exploitation in the next 30 days: 0.95%

FIRST EPSS · 2026-11-22

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 /.

Links