Skip to content
FixSecurityHeadersScan a site

Only the domain and grade are shown. Uncheck to remove it.

readygdpr.com

Score 45/100 · Stack Vercel · HTTP 200

Final URL: https://readygdpr.com/ · Scanned Fri, 27 Nov 2026 07:55:30 GMT

PCI DSS 4.0 6.4.3 & 11.6.1NIST 800-171 / CMMC L2OWASP ASVS V14.4SOC 2 CC6

Email me this report

We'll send the grade and a link to this report. One email, no newsletter.

Header results

Your fixes

Detected Vercel from x-vercel-id, Cloudflare IP range. Also detected: Cloudflare.

Copy all: Vercel

Paste into vercel.json. Commit and redeploy. Headers apply from the next deployment.

vercel.json
{
  "headers": [
    {
      "source": "/(.*)",
      "headers": [
        {
          "key": "Content-Security-Policy",
          "value": "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data: https:; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; form-action 'self'; upgrade-insecure-requests"
        },
        {
          "key": "Referrer-Policy",
          "value": "strict-origin-when-cross-origin"
        },
        {
          "key": "Permissions-Policy",
          "value": "camera=(), microphone=(), geolocation=(), payment=(), usb=()"
        },
        {
          "key": "Cross-Origin-Opener-Policy",
          "value": "same-origin"
        },
        {
          "key": "Cross-Origin-Resource-Policy",
          "value": "same-origin"
        }
      ]
    }
  ]
}
  • For Next.js apps on Vercel, set headers in next.config.js. vercel.json headers don't apply to responses from middleware.
  • The source pattern "/(.*)" matches every path.

Content-Security-Policy

What it does
CSP lists where your page is allowed to load scripts, styles, images, frames and connections from. Anything not on the list gets blocked. It's the best header-level defence against cross-site scripting you have.
Risk if missing
With no CSP, any script that gets onto the page (an XSS bug, a compromised analytics tag, a Magecart skimmer) runs with full access to your users' sessions and whatever they type into your forms.

Recommended value: default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data: https:; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; form-action 'self'; upgrade-insecure-requests

Content-Security-Policy · Vercel
{
  "headers": [
    {
      "source": "/(.*)",
      "headers": [
        {
          "key": "Content-Security-Policy",
          "value": "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data: https:; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; form-action 'self'; upgrade-insecure-requests"
        }
      ]
    }
  ]
}

Gotchas

  • Ship it as Content-Security-Policy-Report-Only first and read the violation reports for a week or two before you enforce.
  • 'unsafe-inline' or 'unsafe-eval' in script-src throws away most of the XSS protection. Use nonces or hashes instead.
  • Analytics, chat widgets and payment iframes each need their hosts added. Expect to find a few you forgot about.
  • Send one CSP header, not two. Multiple policies are intersected, so the result is usually stricter than either one and things break in confusing ways.
Full guide: Content-Security-Policy on Vercel

Referrer-Policy

What it does
Referrer-Policy decides what URL information the browser sends in the Referer header when users click a link or your page loads something from another site.
Risk if missing
Full URLs can leak to third parties, including password reset tokens, search terms and internal paths you'd rather nobody saw.

Recommended value: strict-origin-when-cross-origin

Referrer-Policy · Vercel
{
  "headers": [
    {
      "source": "/(.*)",
      "headers": [
        {
          "key": "Referrer-Policy",
          "value": "strict-origin-when-cross-origin"
        }
      ]
    }
  ]
}

Gotchas

  • no-referrer is stricter, but it can wreck analytics attribution and break some payment and SSO flows that check the referrer.
Full guide: Referrer-Policy on Vercel

Permissions-Policy

What it does
Permissions-Policy switches off powerful browser APIs for your page and anything it embeds, unless you explicitly allow them.
Risk if missing
An injected or third-party script could ask for the camera, microphone, location or payment APIs. Most sites never use these, so there's no reason to leave them available.

Recommended value: camera=(), microphone=(), geolocation=(), payment=(), usb=()

Permissions-Policy · Vercel
{
  "headers": [
    {
      "source": "/(.*)",
      "headers": [
        {
          "key": "Permissions-Policy",
          "value": "camera=(), microphone=(), geolocation=(), payment=(), usb=()"
        }
      ]
    }
  ]
}

Gotchas

  • Allow the features you actually use, for example payment=(self) if your checkout uses the Payment Request API.
  • Drop interest-cohort=() if you copied it from an old guide. FLoC was abandoned and browsers now log a console warning for it.
Full guide: Permissions-Policy on Vercel

Cross-Origin-Opener-Policy

What it does
COOP puts your page in its own browsing context group, so a window opened from another origin can't get a reference to it (and vice versa).
Risk if missing
Cross-window attacks like XS-Leaks and tabnabbing, plus Spectre-style side channels.

Recommended value: same-origin

Cross-Origin-Opener-Policy · Vercel
{
  "headers": [
    {
      "source": "/(.*)",
      "headers": [
        {
          "key": "Cross-Origin-Opener-Policy",
          "value": "same-origin"
        }
      ]
    }
  ]
}

Gotchas

  • OAuth and payment pop-ups that report back through window.opener will break under same-origin. Use same-origin-allow-popups for those pages.
Full guide: Cross-Origin-Opener-Policy on Vercel

Cross-Origin-Resource-Policy

What it does
CORP tells browsers which origins are allowed to embed your images, scripts and other files.
Risk if missing
Other sites can embed your resources and use side channels to infer data from them.

Recommended value: same-origin

Cross-Origin-Resource-Policy · Vercel
{
  "headers": [
    {
      "source": "/(.*)",
      "headers": [
        {
          "key": "Cross-Origin-Resource-Policy",
          "value": "same-origin"
        }
      ]
    }
  ]
}

Gotchas

  • Assets that other sites are meant to embed (a public CDN, an embeddable widget) need cross-origin instead.
Full guide: Cross-Origin-Resource-Policy on Vercel

Raw response headers

curl -I https://readygdpr.com/
date: Fri, 27 Nov 2026 07:55:30 GMT
content-type: text/html; charset=utf-8
transfer-encoding: chunked
connection: close
access-control-allow-origin: *
age: 352177
cache-control: public, max-age=0, must-revalidate
content-disposition: inline
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=tizyZd%2BU51CDAJln4jONdBQjl0lXhsRAQZjMK0q%2B%2B78Gfy6NDhFwbkVGu4YmRmdYKlmJun149Sxe5Jqb%2B8VWwMr5QluHHJ%2FjlK1TDk7LLQHdus%2FPH7VQKeiBYcNiGdYE"}]}
last-modified: Mon, 23 Nov 2026 06:05:52 GMT
server: cloudflare
strict-transport-security: max-age=63072000
x-content-type-options: nosniff
x-frame-options: DENY
x-vercel-cache: HIT
x-vercel-id: cle1:iad1::fnclc-1795766129982-035b635fbb6c
x-xss-protection: 1; mode=block
cf-cache-status: DYNAMIC
vary: accept-encoding
server-timing: cfCacheStatus;desc="DYNAMIC", cfEdge;dur=24,cfOrigin;dur=37
cf-ray: a60f92281f6a8896-IAD
alt-svc: h3=":443"; ma=86400