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

Browser history leakage

11

Codes and tokens in visited URLs can remain in history, where someone with device access may find them.

RFC 9700 · § 4.3DEFENSE
3 / 3
03
Never navigate with access_token in the query.

Resource access should not distribute tokens through visited addresses.

Browser history leakageCodes and tokens in visited URLs can remain in history, where someone with device access may find them. Current state: Never navigate with access_token in the query..Browser history leakagecallback code / form_postVisited pageBrowser historybound single-use codeNo reusable token in the stored URL

Key idea: Never put access tokens in URI queries.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Clients MUST NOT pass access tokens in URI query parameters.
  • Code replay prevention and transaction binding reduce the value of a code found in history.
  • Authorization code and form post responses can reduce front-channel credential exposure.

The implicit grant can also leave tokens in URL fragments in browser history. The drawing represents local history access; it does not imply any website can read the browser’s full history.

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 ↗