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.

Project Subscriptions

Vendors Products
Browsershot Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 16 Nov 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 11 Nov 2026 19:00:00 +0000

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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-13T17:38:11.368Z

Reserved: 2026-11-11T18:27:27.098Z

Link: CVE-2026-126779

cve-icon Vulnrichment

Updated: 2026-11-13T17:38:00.577Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-11T19:17:38.840

Modified: 2026-11-13T18:17:33.443

Link: CVE-2026-126779

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-13T20:00:09Z

Weaknesses