Visual RFC.
ALL RFCs / RFC 9700
Read the RFC ↗
RFC 9700 / ATTACKS & DEFENSES

Clickjacking

24

A hidden frame or deceptive overlay can turn an innocent click into consent, or capture a password intended for the real login page.

RFC 9700 · § 4.16DEFENSE
3 / 3
03
Let the user make an informed decision.

Protect all relevant authentication and authorization screens.

ClickjackingA hidden frame or deceptive overlay can turn an innocent click into consent, or capture a password intended for the real login page. Current state: Let the user make an informed decision..Clickjackingauthorization consentVisible authorization requestunauthorized framing deniedUser sees the genuine consent UI

Key idea: Protect the entire authorization interface.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Authorization servers MUST prevent clickjacking.
  • Servers SHOULD use CSP level 2 or greater, including frame-ancestors and appropriate script restrictions.
  • Apply controls across authorization, login, device authorization, and error pages as applicable. Combine defenses for legacy agents unless they are explicitly unsupported.

Frame policy must fit legitimate embedding requirements. The RFC recommends configurable permitted origins per client; relying on one protected page leaves other authorization screens exposed.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A key is different from permission.

An app, a person, and a server have different roles. Follow who asks, who grants permission, and who checks the credential. A key in the drawing is an analogy, not a literal protocol field.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 9700

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗