Protocol: Misconfigured Referrer-Policy Header¶
Identifier:
header_referrer_policy
Scanner Support¶
| GraphQL Scanner | REST Scanner | WebApp Scanner | ASM Scanner | Automated Pentest |
|---|---|---|---|---|
Description¶
Referrer-Policy controls how much of the page URL the browser sends in the Referer header to other sites. Without a strict policy, URLs carrying tokens, identifiers, or other sensitive parameters can leak to third-party scripts, images, and links.
How we test: On each HTML page, we determine the effective referrer policy: the <meta name="referrer"> tag when the page has one, otherwise the last policy the browser recognizes in the Referrer-Policy header. We report pages where no policy is set, or where the policy sends the full URL across origins, such as unsafe-url or no-referrer-when-downgrade.
References:
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
- https://owasp.org/www-project-secure-headers/#referrer-policy
Configuration¶
Example¶
Example configuration:
Reference¶
skip¶
Type: boolean
Skip the test if true.