Skip to main content
EPSS 0.5%top 55%

CVE-2025-1026: Improper Input Validation in spatie/browsershot

0
High
VulnerabilityCVE-2025-1026cvecve-2025-1026
Published: 02/05/2025 (02/05/2025, 05:00:01 UTC)
Source: CVE Database V5
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Packagistmore threats →ai
spatie/browsershot
pkg:composer/spatie/browsershot
Affected versions
<5.0.5

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

AILast updated: 08/11/2026, 18:24:16 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses