7.7high
Browsershot Local File Inclusion
- Severity
- 7.7high CVSS:4.0 by snyk
- Exploit likelihood
- 0.90% (higher than 58% of CVEs)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-f2q5-6mx7-q9qq
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| spatie/browsershot | before 5.0.5 | CVE List |
| spatie/browsershot (Packagist) | before 5.0.5 | GitHub Advisory Database |
All scores
| snyk | 7.7high 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 | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N/E:P |
| GitHub | 8.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| GitHub | medium 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/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 |
Classification
What each source says
CVE List
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).
NVD (es)
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).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-1026 changed 2026-08-19 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f2q5-6mx7-q9qq changed 2025-02-05 | CC-BY-4.0 |
| NVD | CVE-2025-1026 changed 2026-06-17 | Public domain |