wntrblm/flask-talisman

Disable X-XSS-Protection by default

Closed this issue · 1 comments

The X-XSS-Protection header is supported only by Internet Explorer, which is supported only on Windows 10 LTSC and Windows Server. All other browsers have removed their XSSAuditors or have never implemented it for security and maintenance reasons:

Since it isn't supported by any modern browser and it can introduce additional security vulnerabilities in the outdated browsers that support it, the x_xss_protection option should default to False.

I like the idea. A header less saves a few bytes as well :) I'll open up a PR in a sec.