ownCloud · Report #128493
doc.owncloud.org: X-XSS-Protection not enabled
Validstatus
1upvotes
9 Apr 2016disclosed
How it was found
X-Xss-Protection @https://doc.owncloud.org/ has not been set.
This header is used to configure the built in reflective XSS protection found in Internet Explorer, Chrome and Safari (Webkit). Valid settings for the header are 0, which disables the protection, 1 which enables the protection and 1; mode=block which tells the browser to block the response if it detects an attack rather than sanitising the script.
NginX: add_header X-Xss-Protection "1; mode=block" always;
Apache: Header always set X-Xss-Protection "1; mode=block"
IIS: