Headers Security
medium Severity
Free Check
Referrer-Policy Header
Governs how much referrer information (including URLs and sensitive query parameters) is sent when navigating away.
Why It Matters
URLs frequently contain private session tokens, reset links, or user identifiers. An insecure referrer policy leaks these to third-party domains.
How We Check This
We verify that Referrer-Policy is set to strict-origin-when-cross-origin, no-referrer, or same-origin.
How to Fix & Implement
Copy-paste configuration blocks tailored for your web server or edge proxy.
nginx snippet
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
Frequently Asked Questions
Which Referrer-Policy is recommended for modern web apps?
strict-origin-when-cross-origin provides a great balance of privacy and analytics.