spatie/browsershot
Affected
- introduced
0, fixed5.0.5(ecosystem)
Fixed versions
5.0.5
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2025-1022
Browsershot Path Traversal
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.
High Basis: The source's own band: HIGH
0, fixed 5.0.5 (ecosystem)5.0.5
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0