Ladybirdに同一生成元制限の不備による脆弱性 別サイトのCSSを読み書きされるおそれ
概要
Ladybirdには、CSSStyleSheetの処理で同一生成元制限(Same-Origin Policy)を守らない脆弱性(CVE-2026-119331)があります。悪意のあるページから、CORSを使わずに読み込まれたスタイルシートのルールを読まれたり、別のスタイルシートのルールを追加・削除されたりするおそれがあります。修正はコミットc0d68bddf3e3616e5173835f0f4c155ee9700d91で行われています。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Ladybirdには、CSSStyleSheetの処理で同一生成元制限(Same-Origin Policy)を守らない脆弱性(CVE-2026-119331)があります。悪意のあるページから、CORSを使わずに読み込まれたスタイルシートのルールを読まれたり、別のスタイルシートのルールを追加・削除されたりするおそれがあります。修正はコミットc0d68bddf3e3616e5173835f0f4c155ee9700d91で行われています。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Ladybird is a truly independent web browser. Prior to the c0d68bddf3e3616e5173835f0f4c155ee9700d91 commit, CSSStyleSheet.cssRules, insertRule(), and deleteRule() in Libraries/LibWeb/CSS/CSSStyleSheet.cpp did not enforce the stylesheet origin-clean flag with the required SecurityError, even though cross-origin imported stylesheets were correctly marked non-origin-clean. A malicious page could read parsed rules from a stylesheet loaded without CORS and could insert or delete rules in the victim stylesheet, bypassing the Same-Origin Policy. Reading could expose selectors, generated content, feature markers, or other sensitive rule text, while mutation could alter page visibility or layout. The issue does not provide memory corruption, code execution, or persistence after the attacker page closes. This vulnerability is fixed by commit c0d68bddf3e3616e5173835f0f4c155ee9700d91.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com