๐Ÿ” CVE Alert

CVE-2026-126779

HIGH 7.5

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

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-73
Vendor spatie
Product browsershot
Published Nov 11, 2026
Stay Ahead of the Next One

Get instant alerts for spatie browsershot

Be the first to know when new high vulnerabilities affecting spatie browsershot are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Affected Versions

spatie / browsershot
2.2.0 < 5.5.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/spatie/browsershot/pull/989 github.com: https://github.com/spatie/browsershot/commit/eba71ab7f4aba23d9321d653ccd19d4e94432516 github.com: https://github.com/spatie/browsershot/releases/tag/5.5.0 github.com: https://github.com/spatie/browsershot/blob/2.2.0/src/Browsershot.php#L242-L248 vulncheck.com: https://www.vulncheck.com/advisories/spatie-browsershot-2.2.0-before-5.5.0-local-file-read-via-sethtml

Credits

Zachariah Mithani (AploSec)