CVE-2026-126779
High
Description
Spatie Browsershot 2.2.0 before 5.5.0 contains a local file read vulnerability that allows attackers to read server files by supplying root-relative references in HTML passed to setHtml(). Attackers can embed iframe, img, link or script elements referencing paths like /etc/passwd, which resolve to file:// URLs and render file contents into the returned PDF or screenshot.
SeverityHigh
CVSS7.5
Exploit probability—
ProductSpatie Browsershot
PublishedNov 11, 2026
First seenNov 11, 2026
Weakness typeCWE-73CWE-73
How to fix
Update
- spatie browsershot5.5.0 or later
Patches
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| spatie browsershot | 2.2.0 ≤ v < 5.5.0 | 5.5.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.