Skip to content
OpenAdvisories
High · 7.5 CVE-2024-21547 EUVD-2024-3613GHSA-v528-6rq9-h6gw

Spatie Browsershot Directory Traversal vulnerability

Published Dec 18, 2024 · Updated Dec 18, 2024 · Assigned by snyk

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

Affected products

VendorProductAffectedFixed
— spatie/browsershot < 5.0.2 5.0.2

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist spatie/browsershot < 5.0.2 5.0.2 GHSA-v528-6rq9-h6gw

References