CVE-2024-21547
High
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 /.
SeverityHigh
CVSS7.5
Exploit probability—
ProductSpatie/browsershot
PublishedDec 18, 2024
First seenDec 18, 2024
Weakness typeCWE-22Path traversal
How to fix
Update
- spatie/browsershot5.0.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| spatie/browsershotPackagist | v < 5.0.2 | 5.0.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.