logo

CVE-2024-21549 spatie/browsershot

Package

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

Severity

Level: Medium

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

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

EPSS: 0.00061 pctl0.1915

Details

Browsershot Improper Input Validation vulnerability Versions of the package spatie/browsershot before 5.0.3 are vulnerable to Improper Input Validation due to improper URL validation through the setUrl method. An attacker can exploit this vulnerability by utilizing view-source:file://, which allows for arbitrary file reading on a local file. **Note:** This is a bypass of the fix for [CVE-2024-21544](https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8496745).

Metadata

Created: 2024-12-20T06:30:45Z
Modified: 2025-02-04T17:26:43Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-c9f5-29f6-c35w/GHSA-c9f5-29f6-c35w.json
CWE IDs: ["CWE-125", "CWE-20", "CWE-200"]
Alternative ID: GHSA-c9f5-29f6-c35w
Finding: F063
Auto approve: 1