{"id":"CVE-2025-1026","published":"2025-02-05T05:00:01Z","modified":"2026-08-19T15:25:42Z","title":"Versions of the package spatie/browsershot before 5.0.5 are vulnerable to Improper Input Validation due to improper…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.\r\r**Note:**\r\rThis is a bypass of the fix for [CVE-2024-21549](https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8533023).","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00548,"percentile":0.45889,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8533024","tags":[]},{"url":"https://gist.github.com/chuajianshen/6291920112fcf1543fa7b43862112be6","tags":[]},{"url":"https://github.com/spatie/browsershot/pull/908","tags":[]},{"url":"https://gist.github.com/mrdgef/54a8783408220c67c1b859df38a52d65","tags":[]},{"url":"https://github.com/spatie/browsershot/commit/e3273974506865a24fbb5b65b534d8d4b8dfbf72","tags":[]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":9.18},{"name":"CVSS severity","points":6.02}]},"affectedVersions":[{"vendor":"n/a","product":"spatie/browsershot","versions":["< 5.0.5"]}],"affected":[{"ecosystem":"Packagist","package":"spatie/browsershot","vulnerableRanges":["<5.0.5"],"patched":["5.0.5"],"from":["GHSA-f2q5-6mx7-q9qq"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-0238","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-spatie-browsershot-cve-2022-41706","parents":[{"from":"CVE-2024-21549","to":"CVE-2025-1026","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"…erable 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.","from":"CVE.org","in":"CVE-2025-1026"},{"kind":"version-step","provenance":"source","package":"Packagist:spatie/browsershot","fromFixed":"5.0.3","toFixed":"5.0.5","daysApart":47},{"kind":"similar","provenance":"machine","score":0.88,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2024-21547","published":"2024-12-18","fixed":"5.0.2","kev":false},{"cve":"CVE-2024-21549","published":"2024-12-20","fixed":"5.0.3","kev":false},{"cve":"CVE-2025-1022","published":"2025-02-05","fixed":"5.0.5","kev":false},{"cve":"CVE-2025-1026","published":"2025-02-05","fixed":"5.0.5","kev":false}],"package":"Packagist:spatie/browsershot"}}