CSRF (Cross-Site Request Forgery)
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://statuscodefyi.com/iframe/glossary/csrf-attack/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://statuscodefyi.com/glossary/csrf-attack/
Add a dynamic SVG badge to your README or docs.
[](https://statuscodefyi.com/glossary/csrf-attack/)
Use the native HTML custom element.
An attack that tricks a user's browser into making unintended requests to a website where the user is authenticated. The attacker exploits the browser's automatic cookie inclusion to perform actions on behalf of the victim. Defenses include CSRF tokens (unique per-request values), SameSite cookie attributes, and checking the Origin and Referer headers.