github / github/secure_headers
nonced tag helpers including nonce directive in csp has potential to break applications
- 主要言語
- Ruby
- スター
- 3.2k
- フォーク
- 253
- 平均マージ
- 19時間 11分
- マージ済み PR(30日)
- 1
説明
# Bugs
## Nonced tag helpers including nonce directive in csp has potential to break applications
### Problem
Given an application with inline script tags, and a CSP that allows them with `'unsafe-inline'`, using `nonced_javascript_tag` will cause a nonce directive to appear in the CSP header. Modern browsers will then ignore the `'unsafe-inline'` directive and all other script tags without a nonce will cease to be executed.
コントリビューションガイド
調査の方向性
Begin at the nonced_javascript_tag helper and trace how it contributes to the CSP header. Reproduce an application using 'unsafe-inline' with other inline scripts, then verify that nonce-bearing scripts remain supported without preventing those other scripts from executing.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ruby
- 領域
- security
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100