Home / spatie/browsershot / spatie/browsershot / CVE-2025-1026
CVE-2025-1026: is it exploited, and which versions of spatie/browsershot are affected and fixed?
CVE-2025-1026 is an improper input validation vulnerability in spatie/browsershot. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: spatie/browsershot before 5.0.5 (GitHub advisory GHSA-f2q5-6mx7-q9qq). Fixed in 5.0.5 (GitHub advisory GHSA-f2q5-6mx7-q9qq). Severity: High (7.7, CVSS 4.0, from snyk).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:23 UTC.
What is 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).
From the CVE record by snyk, last updated August 19, 2026, 15:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| spatie/browsershot | before 5.0.5 | 5.0.5 |
As the CVE record by snyk states it, last updated August 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | spatie/browsershot | < 5.0.5 | 5.0.5 | GHSA-f2q5-6mx7-q9qq |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 5, 2025. Summary: Browsershot Local File Inclusion.
How severe is CVE-2025-1026?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.7 | CVSS 4.0 | 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 | snyk |
| High 8.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N/E:P | snyk |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-1026 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, February 5, 2025)
- EPSS
- 0.56% probability of exploitation activity in the next 30 days, percentile 47.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8533024
- https://gist.github.com/chuajianshen/6291920112fcf1543fa7b43862112be6
- https://github.com/spatie/browsershot/pull/908
- https://gist.github.com/mrdgef/54a8783408220c67c1b859df38a52d65
- https://github.com/spatie/browsershot/commit/e3273974506865a24fbb5b65b534d8d4b8dfbf72
Who found and reported it?
- Chua Jian Shen (finder)
- Ee Yang Tee (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- February 4, 2025
- Published
- February 5, 2025, 05:00 UTC
- CVE record updated
- August 19, 2026, 15:25 UTC by snyk
- NVD
- Deferred, last modified June 17, 2026, 08:38 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect spatie/browsershot?
- Apr 4, 2025CVE-2025-3192 spatie/browsershot: server-side request forgery (SSRF)
- Feb 5, 2025CVE-2025-1022 spatie/browsershot: improper input validation
- Dec 20, 2024CVE-2024-21549 spatie/browsershot: improper input validation
- Dec 18, 2024CVE-2024-21547 spatie/browsershot: path traversal (reading or writing files outside the intended folder)
- Dec 13, 2024CVE-2024-21544 spatie/browsershot: improper input validation
- Dec 11, 2020CVE-2020-7790 spatie/browsershot: path traversal (reading or writing files outside the intended folder)
Every CVE in spatie/browsershot
Questions about CVE-2025-1026
Is CVE-2025-1026 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.56% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of spatie/browsershot are affected by CVE-2025-1026?
spatie/browsershot before 5.0.5, per the GitHub advisory GHSA-f2q5-6mx7-q9qq. The tables above give every range the sources list.
Which version fixes CVE-2025-1026?
5.0.5, per the GitHub advisory GHSA-f2q5-6mx7-q9qq. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-1026?
High (7.7, CVSS 4.0, from snyk). The severity table above shows each score with its source.
Where is the official record of CVE-2025-1026?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.