logo

CVE-2024-21547 spatie/browsershot

Package

Manager: composer
Name: spatie/browsershot
Vulnerable Version: >=0 <5.0.2

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P

EPSS: 0.00135 pctl0.33923

Details

Spatie Browsershot Directory Traversal vulnerability 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 /.

Metadata

Created: 2024-12-18T06:30:49Z
Modified: 2024-12-18T15:48:22Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-v528-6rq9-h6gw/GHSA-v528-6rq9-h6gw.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-v528-6rq9-h6gw
Finding: F063
Auto approve: 1