All fixes

Stop a state-changing form being framed

clickjacking-form

A form on this page changes state and the page can be framed, so a visitor clicking something harmless elsewhere submits it. Deny framing.

Why this matters

A form that changes state on this page can be loaded invisibly inside another site, so a visitor who thinks they are clicking something harmless submits it for the attacker.

Cloudflare

  1. 1 Cloudflare does not set X-Frame-Options by default
  2. 2 Use Transform Rules to add it, or set frame-ancestors in CSP instead
Header: X-Frame-Options
Value: DENY

# Better: use CSP frame-ancestors
Content-Security-Policy: frame-ancestors 'none'
Cloudflare docs

Does your app still have this?

Scan your domain