CVE Explore

Improper input validation in Spatie/browsershot

CVE-2024-21549

CVSS v3
8.6 High
Public exploits
None known
EPSS
0.006 · 49.9th percentile
Published
2024-12-20

Versions of the package spatie/browsershot before 5.0.3 are vulnerable to Improper Input Validation due to improper URL validation in 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).

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
None PR:N
User Interaction
None UI:N
Scope
Changed S:C
Confidentiality
High C:H
Integrity
None I:N
Availability
None A:N

EPSS exploit prediction

EPSS 0.006, 49.9th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Spatie/browsershot — versions 0

Weakness classification (CWE)

References