X-XSS-Protection
The HTTP
X-XSS-Protection response header is a feature of Internet Explorer, Chrome and Safari that stops pages from loading when they detect reflected cross-site scripting (
XSS) attacks. Although these protections are largely unnecessary in modern browsers when sites implement a strong
Content-Security-Policy that disables the use of inline JavaScript (
'unsafe-inline'), they can still provide protections for users of older web browsers that don't yet support
CSP.
Syntax
X-XSS-Protection: 0
X-XSS-Protection: 1
X-XSS-Protection: 1; mode=block
X-XSS-Protection: 1; report=<reporting-uri>
Orchestra default configuration
X-XSS-Protection: 1
Explanation: Enables XSS filtering (usually default in browsers). If a cross-site scripting attack is detected, the browser will sanitize the page (remove the unsafe parts).