github / github/secure_headers
nonced tag helpers including nonce directive in csp has potential to break applications
Ouverte
- Langage dominant
- Ruby
- Étoiles
- 3.2k
- Forks
- 253
- Merge moyen
- 19 h 11 min
- PR mergées (30 j)
- 1
Description
# 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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.