CVE-2026-126779: Spatie Browsershot 2.2.0 before 5.5.0 Local File Read via setHtml()
CVE-2026-126779 Spatie Browsershot 2.2.0 before 5.5.0 Local File Read via setHtml()
Summary: Spatie Browsershot 2.2.0 before 5.5.0 Local File Read via setHtml()
EPSS: 0.4% probability of exploitation in the next 30 days (percentile 32.7).
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.
UNKNOWN — vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVE-2026-126779 Spatie Browsershot 2.2.0 before 5.5.0 Local File Read via setHtml()