Referrer-Policy

Which Referrer-Policy value to choose so that full page URLs, with any tokens or search terms in them, do not leak to other sites.

What AuditX checks

The scan reads the Referrer-Policy header, and a meta tag named referrer in the HTML your server sends, which takes its place when both are set. When the header lists several values, the last one the browser knows counts. It warns when the policy is unsafe-url or no-referrer-when-downgrade, which send the full URL to other sites, and passes for any other valid policy. When no policy is set at all, the result is an info note that does not lower your score, because current browsers then use strict-origin-when-cross-origin and send only your domain to other sites.

Why it matters

When a visitor clicks a link or your page loads a third-party file, the browser tells the other site where the visitor came from. With a loose policy that is the full URL, including the path and query string.

URLs often carry more than they should: search terms, order numbers, reset tokens. strict-origin-when-cross-origin sends only your domain to other sites and keeps the full URL for your own.

How to fix it

  1. Set Referrer-Policy: strict-origin-when-cross-origin on every response. It is the default in current browsers, and setting it explicitly also covers older ones.
  2. Use no-referrer on pages that should not reveal even your domain, such as an internal tool.
Referrer-Policy: strict-origin-when-cross-origin

Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.

Scan my site

Sources

Related checks

Last reviewed 2026-11-13.