NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2024-21547: Spatie Browsershot Directory Traversal vulnerability

highCVSS 4.0 7.7 · 3.1 7.5GHSA-v528-6rq9-h6gw

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

Published Dec 18, 2024

Affected packages

spatie/browsershot

Ecosystem
Composer (PHP)
Affected
< 5.0.2
Fixed in
5.0.2
Check
composer show spatie/browsershot

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries