CVE-2025-1026: spatie/browsershot · Improper Input Validation
Affects spatie/browsershotSource CVE Database V5
Mentioned vulnerabilities
Public exploit available · CVSS 7.7 High : upgrade to 5.0.5 as a priority.
Data as of 2 Nov 2026, 22:57 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.0.5
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:PExploitation evidence
Disclosed: evidence found.
CVE published 5 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 2 Nov 2026.
What to do
Upgrade spatie/browsershot to 5.0.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Packagistspatie/browsershotpkg:composer/spatie/browsershotOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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).
References
- security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8533024 (opens in a new tab)
- gist.github.com/chuajianshen/6291920112fcf1543fa7b43862112be6 (opens in a new tab)
- github.com/spatie/browsershot/pull/908 (opens in a new tab)
- gist.github.com/mrdgef/54a8783408220c67c1b859df38a52d65 (opens in a new tab)
- github.com/spatie/browsershot/commit/e3273974506865a24fbb5b65b534d8d4b8dfbf72 (opens in a new tab)