CVE-2026-126779
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 package | Versions | Reported by |
|---|---|---|
| spatie browsershot | from 2.2.0 before 5.5.0 Not affected: 5.5.0 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | 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 |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-126779 changed 2026-11-13 | CVE Terms of Use |
| NVD | CVE-2026-126779 changed 2026-11-13 | Public domain |