Improper input validation in Spatie/browsershot

CVE-2025-1026

Versions of the package spatie/browsershot before 5.0.5 are vulnerable to Improper Input Validation due to improper URL validation through the setUrl method, which results in a Local File Inclusion allowing the attacker to read sensitive files. **Note:** This is a bypass of the fix for [CVE-2024-21549](https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8533023).

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

EPSS: 0.005 (41.6th percentile) — read the EPSS interpretation.

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.

Affected products

  • N/a Spatie/browsershot — versions 0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-1026?
CVE-2025-1026 is a high-severity vulnerability in Spatie/browsershot, classified under Improper Input Validation. CVSS score: 8.6/10. Published 2025-02-05.
How severe is CVE-2025-1026?
High severity. CVSS v3 base score is 8.6 out of 10.