{"id":"CVE-2026-126779","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-126779","summary":"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().…","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.","published":"2026-11-11T18:41:10.254Z","modified":"2026-11-11T18:41:10.254Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/spatie/browsershot/pull/989","label":"spatie/browsershot#989"},"references":[{"type":"FIX","url":"https://github.com/spatie/browsershot/pull/989"},{"type":"FIX","url":"https://github.com/spatie/browsershot/commit/eba71ab7f4aba23d9321d653ccd19d4e94432516"},{"type":"WEB","url":"https://github.com/spatie/browsershot/releases/tag/5.5.0"},{"type":"WEB","url":"https://github.com/spatie/browsershot/blob/2.2.0/src/Browsershot.php#L242-L248"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/spatie-browsershot-2.2.0-before-5.5.0-local-file-read-via-sethtml"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-11-11T18:41:10.254Z"}}