CVE-2026-126779
JSON

8.7high

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

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.44% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
spatie browsershotfrom 2.2.0 before 5.5.0
Not affected: 5.5.0
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-73

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-126779 changed 2026-11-13CVE Terms of Use
NVDCVE-2026-126779 changed 2026-11-13Public domain