HexBrain

Weblate · Report #223396

hosted.weblate.org: X-XSS-Protection not enabled

Validstatus
lowseverity
2upvotes
17 May 2017disclosed

How it was found

Hi,

X-Xss-Protection @https://hosted.weblate.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:

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original