CVE-2026-126779 Spatie Browsershot 2.2.0 before 5.5.0 Local File Read via setHtml()
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
spatie
browsershot
영향 받는 버전
- 2.2.0 이상 5.5.0 미만
해결 버전
- 5.5.0 이상
- 5.5.0
참고 자료 5건
- github.com https://github.com/spatie/browsershot/blob/2.2.0/src/Browsershot.php#L242-L248 (새 창)
- github.com https://github.com/spatie/browsershot/commit/eba71ab7f4aba23d9321d653ccd19d4e94432516 (새 창)
- github.com https://github.com/spatie/browsershot/pull/989 (새 창)
- github.com https://github.com/spatie/browsershot/releases/tag/5.5.0 (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/spatie-browsershot-2.2.0-before-5.5.0-local-file-read-via-sethtml (새 창)