cloudflare-docs icon indicating copy to clipboard operation
cloudflare-docs copied to clipboard

X-XSS-Protection header being set when not recommended

Open daservajesus opened this issue 5 years ago • 1 comments

Expected Behavior

X-XSS-Protection header is deprecated according to the OWASP site and should no longer be set to anything but 0

Actual Behavior

Example still lists the header being set to a non-zero value which is no longer recommended

Section that requires update

https://github.com/cloudflare/cloudflare-docs/blob/production/products/workers/src/content/examples/security-headers.md

Additional information

https://owasp.org/www-project-secure-headers/#x-xss-protection

daservajesus avatar Jul 11 '21 12:07 daservajesus

Thanks @daservajesus! Updated the code in this PR.

Albertozhao avatar Aug 30 '21 20:08 Albertozhao