{"id":"CVE-2025-1026","aliases":["CVE-2025-1026","GHSA-f2q5-6mx7-q9qq"],"related":[],"kind":"vulnerability","state":"published","title":"Browsershot Local File Inclusion","summary":"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.\n\n**Note:**\n\nThis is a bypass of the fix for [CVE-2024-21549](https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8533023).","summarySource":"cvelist","descriptions":[{"lang":"en","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.\n\n**Note:**\n\nThis is a bypass of the fix for [CVE-2024-21549](https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8533023).","source":"cvelist"},{"lang":"es","text":"Las versiones del paquete spatie/browsershot anteriores a la 5.0.5 son vulnerables a la validación de entrada incorrecta debido a la validación incorrecta de URL a través del método setUrl, lo que da como resultado una inclusión de archivo local que permite al atacante leer archivos confidenciales. **Nota:** Esta es una omisión de la corrección para [CVE-2024-21549](https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8533023).","source":"nvd"}],"published":"2025-02-05T05:00:01.940Z","modified":"2026-08-19T15:25:42.620Z","severity":{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":7.7,"rating":"HIGH"},{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N/E:P","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"MEDIUM"}],"cwes":["CWE-20","CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"5.0.5","status":"affected"}],"product":"spatie/browsershot","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.0.5"}],"ecosystem":"Packagist","package":"spatie/browsershot","purl":"pkg:composer/spatie/browsershot","source":"ghsa"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8533024","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/chuajianshen/6291920112fcf1543fa7b43862112be6","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/spatie/browsershot/pull/908","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/mrdgef/54a8783408220c67c1b859df38a52d65","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/spatie/browsershot/commit/e3273974506865a24fbb5b65b534d8d4b8dfbf72","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1026","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spatie/browsershot","tags":["package"],"sources":["ghsa"]}],"credits":["Chua Jian Shen","Ee Yang Tee"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-02-05T14:41:48.612Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-1026","url":"https://www.cve.org/CVERecord?id=CVE-2025-1026","licence":"CVE Terms of Use","modified":"2026-08-19T15:25:42.620Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f2q5-6mx7-q9qq","url":"https://github.com/advisories/GHSA-f2q5-6mx7-q9qq","licence":"CC-BY-4.0","modified":"2025-02-05T21:42:03.976Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-1026","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1026","licence":"Public domain","modified":"2026-06-17T08:38:15.407Z"}],"updatedAt":"2026-11-25T22:58:53.797Z","epss":{"score":0.00897,"percentile":0.57599,"date":"2026-11-30T12:00:22.000Z"}}