You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disable X-XSS-Protection by default in SecurityHeadersFilter #13993
Play currently sets the X-XSS-Protection response header by default when SecurityHeadersFilter is enabled:
X-XSS-Protection: 1; mode=block
This header is obsolete. MDN marks X-XSS-Protection as deprecated and non-standard, recommends using Content-Security-Policy instead, and warns that XSS filtering can create vulnerabilities in otherwise safe websites:
According to MDN browser compatibility data, the last major browser listed as removing support was Safari in version 15.4. Chrome removed it in 78, Edge removed it in 17, Firefox never supported it, and Android WebView is listed as unsupported:
Activity