Tips

Clickjacking tips

Clickjacking frames the target page invisibly so a victim clicks something they did not mean to. It only matters when one or two clicks perform a sensitive action.

Published tips, newest first. Payloads and commands are shown as plain text.

Clickjacking: how to hunt it

Where to look

  • Sensitive one-click actions on pages without X-Frame-Options or frame-ancestors, whose session cookies are sent in frames (SameSite=None).
  • Actions such as deleting an account, changing settings, granting OAuth access or confirming a payment.
  • Drag-and-drop and double-click tricks that defeat simple protections.
  • Frame-busting scripts that the sandbox attribute switches off.

What proves it

Give a page where a believable click performs a sensitive action on a test account; a missing header on its own is usually out of scope.

Read further

Writeups on Clickjacking, by hunters and researchers, most with a short summary.

Related classes