What’s Vulnerable › Vulnerabilities

CVE-2025-1026

Description

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

Affected products

How to fix

Upgrade to a fixed version: spatie/browsershot 5.0.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-1026 or the next vulnerability affects your stack