{"id":"CVE-2026-126779","aliases":["CVE-2026-126779"],"related":[],"kind":"vulnerability","state":"published","title":"Spatie Browsershot 2.2.0 before 5.5.0 Local File Read via setHtml()","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(). 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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-11T18:41:10.254Z","modified":"2026-11-13T18:17:33.443Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-73"],"affected":[{"ranges":[{"type":"semver","introduced":"2.2.0","fixed":"5.5.0","status":"affected"},{"type":"semver","version":"5.5.0","status":"unaffected"}],"vendor":"spatie","product":"browsershot","repo":"https://github.com/spatie/browsershot","source":"cvelist"}],"references":[{"url":"https://github.com/spatie/browsershot/pull/989","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/spatie/browsershot/commit/eba71ab7f4aba23d9321d653ccd19d4e94432516","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/spatie/browsershot/releases/tag/5.5.0","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/spatie/browsershot/blob/2.2.0/src/Browsershot.php#L242-L248","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/spatie-browsershot-2.2.0-before-5.5.0-local-file-read-via-sethtml","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Zachariah Mithani (AploSec)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-11-13T17:37:51.283Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126779","url":"https://www.cve.org/CVERecord?id=CVE-2026-126779","licence":"CVE Terms of Use","modified":"2026-11-13T17:38:11.368Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-126779","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126779","licence":"Public domain","modified":"2026-11-13T18:17:33.443Z"}],"updatedAt":"2026-11-25T22:59:50.406Z","epss":{"score":0.0044,"percentile":0.40006,"date":"2026-12-01T12:00:22.000Z"}}