CVE-2026-126779
Spatie Browsershot 2.2.0 before 5.5.0 Local File Read via setHtml()
- Severity
- high CVSS 8.7 (v4.0)
- Affects
- browsershot · spatie
- Weakness
- CWE-73: External Control of File Name or Path
- Published
- 11 November 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.