Home » Vulnerabilities Knowledge Base » X-xss Protection Header Missing
X-XSS-Protection: 0
X-XSS-Protection: 1
X-XSS-Protection: 1; mode=block
X-XSS-Protection: 1; report=<reporting-uri>
In cases when parameter value entered in a Web application through an un-trusted source, most frequently a web request, leads to cross site scripting attacking either stealing of data or modifying some data.
header("X-XSS-Protection: 1; mode=block");
<IfModule mod_headers.c>
Header set X-XSS-Protection "1; mode=block"
</IfModule>
add_header "X-XSS-Protection" "1; mode=block";
Content Sniffing
Certain browsers, try to determine the content type and encoding of the response even when these properties are defined correctly...
Content Sniffing
Certain browsers, try to determine the content type and encoding of the response even when these properties are defined correctly...
Content Sniffing
Certain browsers, try to determine the content type and encoding of the response even when these properties are defined correctly...
Content Sniffing
Certain browsers, try to determine the content type and encoding of the response even when these properties are defined correctly...