Shellfeed logo Shellfeed

CVE-2026-126779 · UNKNOWN

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).

Details

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.

Severity

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

Affected packages

  • GIT github.com/spatie/browsershot [b859699eff6ec3cb8abeff538117c48b0791f49b – eba71ab7f4aba23d9321d653ccd19d4e94432516]

References

Posts about CVE-2026-126779