CVE-2026-126779

Spatie Browsershot 2.2.0 before 5.5.0 Local File Read via setHtml()

Published Nov 11, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Spatie Browsershot 2.2.0 before 5.5.0 Local File Read via setHtml()
First Time appeared Spatie
Spatie browsershot
Weaknesses CWE-73
CPEs cpe:2.3:a:spatie:browsershot:*:*:*:*:*:*:*:*
Vendors & Products Spatie
Spatie browsershot
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 11, 2026, 6:41 PM
Reserved
Nov 11, 2026, 6:27 PM
Status
Awaiting Analysis
Published
Nov 11, 2026, 7:17 PM
Modified
Nov 12, 2026, 8:28 PM