CVE-2025-1026: Improper Input Validation in spatie/browsershot
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).
AI Analysis
Technical Summary
The spatie/browsershot package before version 5.0.5 suffers from improper input validation in its setUrl method. This vulnerability allows an attacker to exploit local file inclusion by bypassing URL validation, potentially exposing sensitive files on the affected system. It is a bypass of the earlier fix for CVE-2024-21549, indicating that the previous mitigation was insufficient. The CVSS 4.0 vector indicates the attack is network exploitable without privileges or user interaction, with high scope impact.
Potential Impact
An attacker can leverage this vulnerability to read sensitive local files on a system running vulnerable versions of spatie/browsershot. This could lead to unauthorized disclosure of sensitive information. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided, users should monitor vendor communications for updates and avoid using vulnerable versions prior to 5.0.5 if possible.
CVE-2025-1026: Improper Input Validation in spatie/browsershot
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).
CVSS v4.0
Score 7.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The spatie/browsershot package before version 5.0.5 suffers from improper input validation in its setUrl method. This vulnerability allows an attacker to exploit local file inclusion by bypassing URL validation, potentially exposing sensitive files on the affected system. It is a bypass of the earlier fix for CVE-2024-21549, indicating that the previous mitigation was insufficient. The CVSS 4.0 vector indicates the attack is network exploitable without privileges or user interaction, with high scope impact.
Potential Impact
An attacker can leverage this vulnerability to read sensitive local files on a system running vulnerable versions of spatie/browsershot. This could lead to unauthorized disclosure of sensitive information. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided, users should monitor vendor communications for updates and avoid using vulnerable versions prior to 5.0.5 if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2025-02-04T13:38:43.390Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a72084dbf8831d5390c159b
Added to database: 08/04/2026, 15:42:05 UTC
Last enriched: 08/11/2026, 18:24:16 UTC
Last updated: 09/18/2026, 22:01:28 UTC
Views: 49
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.