Security Vulnerabilities Guide

Understanding and fixing common web security vulnerabilities detected by VitaPulse

Low
Referrer-Policy

Controls how much referrer information is sent when navigating from your site to another.

Risk

By default, browsers send the full URL (including query parameters) as a referrer when navigating to external links. If your URLs contain sensitive data (tokens, user IDs, search queries, internal paths), this information leaks to third-party sites. Analytics, ads, and embedded content all receive this data.

Solution

Set a Referrer-Policy that limits the information shared. 'strict-origin-when-cross-origin' is a good default: it sends the full URL for same-origin requests but only the origin for cross-origin ones.

Example
Referrer-Policy: strict-origin-when-cross-origin
Comments (0)

No messages yet.