kb/data/developer.mozilla.org/en-US/docs/Glossary/Replay_attack-0.md

9.7 KiB

title chunk source category tags date_saved instance
Replay attack - Glossary | MDN 1/3 https://developer.mozilla.org/en-US/docs/Glossary/Replay_attack reference web, html, css, javascript, documentation 2026-05-05T05:42:44.172313+00:00 kb-cron

MDN HTML HTML: Markup language

HTML reference

HTML guides

Markup languages

CSS CSS: Styling language

CSS reference

CSS guides

Layout cookbook

JavaScriptJS JavaScript: Scripting language

JS reference

JS guides

Web APIs Web APIs: Programming interfaces

Web API reference

Web API guides

All All web technology

Technologies

Topics

Learn Learn web development

Frontend developer course

Learn HTML

Learn CSS

Learn JavaScript

Tools Discover our tools

About Get to know MDN better

Blog

  1. Glossary
  2. Replay attack

Replay attack

In web security, a replay attack happens when an attacker intercepts a previously-sent message and resends it later to get the same credentials as the original message, potentially with a different payload or instruction. Replay attacks can be prevented by including a unique, single-use identifier with each message that the receiver can use to verify the authenticity of the transmission. This identifier can take the form of a session token or "number used only once" (nonce).

In this article

See also