Clarify CORS validation in 3.4.2 to explicitly reject 'null' origin
メンテナーはふだん 1 日以内に返信
@elarlang がすでに取り組んでいます。
2026年1月7日 から。
評価
この issue はまだ評価されていません。
説明
Requirement Referenced
3.4.2 - Browser Security Mechanism Headers
Description of the Issue
The current text for requirement 3.4.2 mandates validating the Origin header against an allowlist but does not explicitly warn against accepting the null origin.
The null origin is a specific edge case generated by browsers in scenarios such as sandboxed iframes or local file access. If an application's allowlist is not strict enough (or if it reflects the origin blindly), an attacker can use a sandboxed iframe to bypass CORS policies by sending Origin: null.
Proposed Change
I propose updating the requirement text to explicitly mention rejecting null unless it is strictly required by the architecture.
Current Text:
...validated against an allowlist of trusted origins. When 'Access-Control-Allow-Origin: *' needs to be used...
Proposed Text:
...validated against an allowlist of trusted origins (specifically rejecting the
nullorigin unless strictly required). When 'Access-Control-Allow-Origin: *' needs to be used...
Motivation
This clarification ensures that developers and security testers specifically verify that the application does not inadvertently allow the null origin, closing a common bypass vector for CORS protections.
- 主要言語
- HTML
- スター
- 3.9k
- フォーク
- 865
- 平均マージ
- 3日 4時間
- マージ済み PR(30日)
- 19
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OWASP/ASVS のほかの issue
-
Crypto appendix: fix title "Post-Quantum Encryption Standards"再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンAppendix C
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
Crypto appendix: fix notations wrt RSA対応中かも @randomstuff が 1 日前に担当しました。 オープン1) Discussion ongoing Appendix C V11 (prev V6)
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
OWASP/ASVS#3467 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
v5.0.0 4.2.1 cites RFC 2616, which is obsolete; RFC 9112 section 6.3 words the rule differentlyオープンV4 (prev V13) WG wanted
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
V6 (prev V2)
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
Update proposal for v5.0.0-3.3.1 and v5.0.0-3.3.3 to cover __Host-Http- and __Http- cookie name prefixes再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン1) Discussion ongoing V3 (prev V50)
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信