EN, Change language
English
UK-122

Deprecated headers are not relied on: X-XSS-Protection is 0 or absent; Expect-CT and Feature-Policy are gone.

The GDS Way · Every UK public sector website

Why it matters to users

Old headers such as X-XSS-Protection can open new weaknesses in some browsers and give a false sense of protection.

How to fix it

Set X-XSS-Protection to 0 or remove it, remove Expect-CT and Feature-Policy, and rely on Content-Security-Policy and Permissions-Policy instead. Then scan again.

How we measure it

The homepage's response headers.

Its official source

Related rules

No deprecated security headers · UK-122 | xfix