CVE-2025-1022 Browsershot Path Traversal
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- PHP
Description
Versions of the package spatie/browsershot before 5.0.5 are vulnerable to Improper Input Validation in the setHtml function, invoked by Browsershot::html(), which can be bypassed by omitting the slashes in the file URI (e.g., file:../../../../etc/passwd). This is due to missing validations of the user input that should be blocking file URI schemes (e.g., file:// and file:/) in the HTML content.
Note: Further analysis has identified additional proof-of-concept exploits leveraging the vulnerable function. Developers using this package should ensure proper input validation to mitigate potential risks, as the issue remains unaddressed.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| spatie/browsershot(Packagist) | < 5.0.5; = 0.1.0; = 0.1.1; = 0.1.2 +154 more | 5.0.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| spatie/browsershot(Packagist) | < 5.0.5 | 5.0.5 |
| spatie/browsershot(Packagist) | = 0.1.0 | No fix listed |
| spatie/browsershot(Packagist) | = 0.1.1 | No fix listed |
| spatie/browsershot(Packagist) | = 0.1.2 | No fix listed |
| spatie/browsershot(Packagist) | = 0.1.3 | No fix listed |
| spatie/browsershot(Packagist) | = 1.0.0 | No fix listed |
| spatie/browsershot(Packagist) | = 1.1.0 | No fix listed |
| spatie/browsershot(Packagist) | = 1.2.0 | No fix listed |
| spatie/browsershot(Packagist) | = 1.2.1 | No fix listed |
| spatie/browsershot(Packagist) | = 1.2.2 | No fix listed |
| spatie/browsershot(Packagist) | = 1.2.3 | No fix listed |
| spatie/browsershot(Packagist) | = 1.2.4 | No fix listed |
| spatie/browsershot(Packagist) | = 1.3.0 | No fix listed |
| spatie/browsershot(Packagist) | = 1.4.0 | No fix listed |
| spatie/browsershot(Packagist) | = 1.5.0 | No fix listed |
| spatie/browsershot(Packagist) | = 1.5.1 | No fix listed |
| spatie/browsershot(Packagist) | = 1.5.2 | No fix listed |
| spatie/browsershot(Packagist) | = 1.5.3 | No fix listed |
| spatie/browsershot(Packagist) | = 1.5.4 | No fix listed |
| spatie/browsershot(Packagist) | = 1.6.0 | No fix listed |
| spatie/browsershot(Packagist) | = 1.7.0 | No fix listed |
| spatie/browsershot(Packagist) | = 1.8.0 | No fix listed |
| spatie/browsershot(Packagist) | = 1.9.0 | No fix listed |
| spatie/browsershot(Packagist) | = 1.9.1 | No fix listed |
| spatie/browsershot(Packagist) | = 2.0.0 | No fix listed |
Show 133 more
| Product | Affected versions | Fixed in |
|---|---|---|
| spatie/browsershot(Packagist) | = 2.0.1 | No fix listed |
| spatie/browsershot(Packagist) | = 2.0.2 | No fix listed |
| spatie/browsershot(Packagist) | = 2.0.3 | No fix listed |
| spatie/browsershot(Packagist) | = 2.1.0 | No fix listed |
| spatie/browsershot(Packagist) | = 2.2.0 | No fix listed |
| spatie/browsershot(Packagist) | = 2.3.0 | No fix listed |
| spatie/browsershot(Packagist) | = 2.4.0 | No fix listed |
| spatie/browsershot(Packagist) | = 2.4.1 | No fix listed |
| spatie/browsershot(Packagist) | = 2.4.2 | No fix listed |
| spatie/browsershot(Packagist) | = 3.0.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.1.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.10.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.11.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.11.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.12.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.13.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.14.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.14.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.15.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.16.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.16.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.17.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.18.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.19.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.2.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.2.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.20.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.20.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.22.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.22.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.23.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.23.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.24.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.25.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.25.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.26.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.26.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.26.2 | No fix listed |
| spatie/browsershot(Packagist) | = 3.26.3 | No fix listed |
| spatie/browsershot(Packagist) | = 3.27.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.29.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.3.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.3.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.30.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.31.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.31.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.32.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.32.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.32.2 | No fix listed |
| spatie/browsershot(Packagist) | = 3.33.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.33.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.34.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.35.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.36.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.37.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.37.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.37.2 | No fix listed |
| spatie/browsershot(Packagist) | = 3.38.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.39.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.4.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.40.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.40.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.40.2 | No fix listed |
| spatie/browsershot(Packagist) | = 3.40.3 | No fix listed |
| spatie/browsershot(Packagist) | = 3.41.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.41.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.41.2 | No fix listed |
| spatie/browsershot(Packagist) | = 3.42.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.44.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.44.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.45.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.46.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.47.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.48.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.49.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.5.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.50.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.50.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.50.2 | No fix listed |
| spatie/browsershot(Packagist) | = 3.51.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.52.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.52.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.52.2 | No fix listed |
| spatie/browsershot(Packagist) | = 3.52.3 | No fix listed |
| spatie/browsershot(Packagist) | = 3.52.4 | No fix listed |
| spatie/browsershot(Packagist) | = 3.52.5 | No fix listed |
| spatie/browsershot(Packagist) | = 3.52.6 | No fix listed |
| spatie/browsershot(Packagist) | = 3.53.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.54.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.55.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.56.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.57.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.57.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.57.2 | No fix listed |
| spatie/browsershot(Packagist) | = 3.57.3 | No fix listed |
| spatie/browsershot(Packagist) | = 3.57.4 | No fix listed |
| spatie/browsershot(Packagist) | = 3.57.5 | No fix listed |
| spatie/browsershot(Packagist) | = 3.57.6 | No fix listed |
| spatie/browsershot(Packagist) | = 3.57.7 | No fix listed |
| spatie/browsershot(Packagist) | = 3.57.8 | No fix listed |
| spatie/browsershot(Packagist) | = 3.58.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.58.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.58.2 | No fix listed |
| spatie/browsershot(Packagist) | = 3.59.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.6.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.60.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.60.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.60.2 | No fix listed |
| spatie/browsershot(Packagist) | = 3.61.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.7.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.8.0 | No fix listed |
| spatie/browsershot(Packagist) | = 3.8.1 | No fix listed |
| spatie/browsershot(Packagist) | = 3.9.0 | No fix listed |
| spatie/browsershot(Packagist) | = 4.0.0 | No fix listed |
| spatie/browsershot(Packagist) | = 4.0.1 | No fix listed |
| spatie/browsershot(Packagist) | = 4.0.2 | No fix listed |
| spatie/browsershot(Packagist) | = 4.0.3 | No fix listed |
| spatie/browsershot(Packagist) | = 4.0.4 | No fix listed |
| spatie/browsershot(Packagist) | = 4.0.5 | No fix listed |
| spatie/browsershot(Packagist) | = 4.1.0 | No fix listed |
| spatie/browsershot(Packagist) | = 4.1.1 | No fix listed |
| spatie/browsershot(Packagist) | = 4.1.2 | No fix listed |
| spatie/browsershot(Packagist) | = 4.1.3 | No fix listed |
| spatie/browsershot(Packagist) | = 4.2.0 | No fix listed |
| spatie/browsershot(Packagist) | = 4.2.1 | No fix listed |
| spatie/browsershot(Packagist) | = 4.3.0 | No fix listed |
| spatie/browsershot(Packagist) | = 4.3.1 | No fix listed |
| spatie/browsershot(Packagist) | = 4.4.0 | No fix listed |
| spatie/browsershot(Packagist) | = 5.0.0 | No fix listed |
| spatie/browsershot(Packagist) | = 5.0.1 | No fix listed |
| spatie/browsershot(Packagist) | = 5.0.2 | No fix listed |
| spatie/browsershot(Packagist) | = 5.0.3 | No fix listed |
| spatie/browsershot(Packagist) | = 5.0.4 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- gist.github.com exploit
- github.com product
- security.snyk.io
- github.com
- ENISA EUVD EUVD-2025-0240 third-party-advisory