Ladybirdに同一生成元制限の不備による脆弱性 別サイトのCSSを読み書きされるおそれ
Summary
Ladybirdには、CSSStyleSheetの処理で同一生成元制限(Same-Origin Policy)を守らない脆弱性(CVE-2026-119331)があります。悪意のあるページから、CORSを使わずに読み込まれたスタイルシートのルールを読まれたり、別のスタイルシートのルールを追加・削除されたりするおそれがあります。修正はコミットc0d68bddf3e3616e5173835f0f4c155ee9700d91で行われています。
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.
Ladybirdには、CSSStyleSheetの処理で同一生成元制限(Same-Origin Policy)を守らない脆弱性(CVE-2026-119331)があります。悪意のあるページから、CORSを使わずに読み込まれたスタイルシートのルールを読まれたり、別のスタイルシートのルールを追加・削除されたりするおそれがあります。修正はコミットc0d68bddf3e3616e5173835f0f4c155ee9700d91で行われています。
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com