Skip to content
High 8.7

Spatie Browsershotに任意のサーバーファイルを読まれる脆弱性

CVE-2026-126779 First seen on SecPulse

Summary

Spatie Browsershot 2.2.0以降5.5.0未満に、setHtml()に渡されたHTMLを通じてサーバー上のファイルを読み取られる脆弱性が見つかりました。読み取られた内容は、生成されるPDFやスクリーンショットに描画されるおそれがあります。修正版の5.5.0に更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Spatie Browsershot 2.2.0以降5.5.0未満に、setHtml()に渡されたHTMLを通じてサーバー上のファイルを読み取られる脆弱性が見つかりました。読み取られた内容は、生成されるPDFやスクリーンショットに描画されるおそれがあります。修正版の5.5.0に更新してください。

Affected packages

PackageAffected → Fixed
spatiebrowsershot
≥ 2.2.0, < 5.5.0→ 5.5.0
Original description The description as published by the source.

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: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details