github / github/secure_headers

nonced tag helpers including nonce directive in csp has potential to break applications

Abierto
#470 17 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Ruby
Estrellas
3.2k
Forks
253
Merge medio
19 h 11 min
PR fusionados (30 d)
1

Descripción

# 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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.