{"id":"CVE-2026-126779","published":"2026-11-11T18:41:10Z","modified":"2026-11-13T17:38:11Z","title":"Spatie Browsershot 2.2.0 before 5.5.0 Local File Read via setHtml()","vendor":"spatie","product":"browsershot","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00381,"percentile":0.33015,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/spatie/browsershot/pull/989","tags":["patch","issue-tracking"]},{"url":"https://github.com/spatie/browsershot/commit/eba71ab7f4aba23d9321d653ccd19d4e94432516","tags":["patch"]},{"url":"https://github.com/spatie/browsershot/releases/tag/5.5.0","tags":["release-notes"]},{"url":"https://github.com/spatie/browsershot/blob/2.2.0/src/Browsershot.php#L242-L248","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/spatie-browsershot-2.2.0-before-5.5.0-local-file-read-via-sethtml","tags":["third-party-advisory"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":6.6},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"spatie","affectedVersions":[{"vendor":"spatie","product":"browsershot","versions":[">= 2.2.0, < 5.5.0"]}],"fixedVersions":[{"vendor":"spatie","product":"browsershot","versions":["5.5.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-13T17:37:51.283314Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-123773","exploited":false,"provenance":"source"}}