NetSight
high7.5

CVE-2024-21547

Spatie Browsershot Directory Traversal vulnerability

Impact

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

Affected packages

EcosystemPackageAffectedFixed in
composerspatie/browsershot< 5.0.25.0.2

Affected products

ProductAffected versions
Package Spatie/Browsershot
before 5.0.2

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References