---
title: "#csrf articles | Hashnode"
description: "Explore 76 articles tagged #csrf on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/csrf"
---

Tag

# #csrf

76 posts · 2 followers

[squ4r00t](https://hashnode.com/@squ4r00t) · [1d ago](https://hashnode.com/posts/caching-in-tangled-chain-from-web-cache-deception-to-stored-xss-partial-dos/6afe06dd26e6df5e0d8144bf)

### [Caching In: Tangled Chain from Web Cache Deception to Stored XSS & Partial DOS](https://bugmithresearch.hashnode.dev/caching-in-tangled-chain-from-web-cache-deception-to-stored-xss-partial-dos?utm_source=hashnode&utm_medium=feed)

Hook Presented with a private invite to a small scope program that seemed to have already been picked clean, I decided to dive in and give it a try which led to the discovery of multiples weaknesses t

8 min read · [bugmithresearch.hashnode.dev](https://bugmithresearch.hashnode.dev/caching-in-tangled-chain-from-web-cache-deception-to-stored-xss-partial-dos?utm_source=hashnode&utm_medium=feed)

[Ciphemic academia](https://hashnode.com/@ciphemicacademia) · [Oct 13](https://hashnode.com/posts/sql-injection-vs-xss-vs-csrf-1-million-users-in-20-hours-and-a-400-000-fine/6acd8dff748cb8132c432949)

### [SQL Injection vs. XSS vs. CSRF: 1 Million Users in 20 Hours and a £400,000 Fine](https://ciphemicacademia.hashnode.dev/sql-injection-vs-xss-vs-csrf-1-million-users-in-20-hours-and-a-400-000-fine?utm_source=hashnode&utm_medium=feed)

A worm hit 1 million users in 20 hours. A breach drew a record fine. Three web attacks, and who each one fools.

15 min read · [ciphemicacademia.hashnode.dev](https://ciphemicacademia.hashnode.dev/sql-injection-vs-xss-vs-csrf-1-million-users-in-20-hours-and-a-400-000-fine?utm_source=hashnode&utm_medium=feed)

[Ashutosh Krishna](https://hashnode.com/@ashutoshkrris) · [Aug 6](https://hashnode.com/posts/csrf-from-scratch-browser-mechanics-attacks-and-spring-security-implementation-handbook/6a74fe284ef5707f2879423d)

### [CSRF from Scratch: Browser Mechanics, Attacks, and Spring Security Implementation \[Full Handbook\]](https://freecodecamp.org/news/csrf-from-scratch-browser-mechanics-attacks-and-spring-security-implementation-handbook?utm_source=hashnode&utm_medium=feed)

If you've ever built a web application or configured Spring Security, you've almost certainly encountered Cross-Site Request Forgery (CSRF). In my previous guide, How OAuth 2.0 Works: A Practical Guid

45 min read · [freecodecamp.org](https://freecodecamp.org/news/csrf-from-scratch-browser-mechanics-attacks-and-spring-security-implementation-handbook?utm_source=hashnode&utm_medium=feed)

[Sreeram K S](https://hashnode.com/@sreeram-ks) · [Jun 20](https://hashnode.com/posts/cors-vs-csp-vs-csrf-vs-xss-differences-every-developer-must-understand/6a3672da5fa84989f31b4bb1)

### [CORS vs CSP vs CSRF vs XSS — Differences Every Developer Must Understand](https://code-as-a-story.hashnode.dev/cors-vs-csp-vs-csrf-vs-xss-differences-every-developer-must-understand?utm_source=hashnode&utm_medium=feed)

Stop treating all web security concepts the same

6 min read · [code-as-a-story.hashnode.dev](https://code-as-a-story.hashnode.dev/cors-vs-csp-vs-csrf-vs-xss-differences-every-developer-must-understand?utm_source=hashnode&utm_medium=feed)

[Sreeram K S](https://hashnode.com/@sreeram-ks) · [Jun 13](https://hashnode.com/posts/what-is-csrf-cross-site-request-forgery/6a2d89ea3eb58c2841c4ce12)

### [What is CSRF (Cross-Site Request Forgery)?](https://code-as-a-story.hashnode.dev/what-is-csrf-cross-site-request-forgery?utm_source=hashnode&utm_medium=feed)

The Request You Never Meant to Send

5 min read · [code-as-a-story.hashnode.dev](https://code-as-a-story.hashnode.dev/what-is-csrf-cross-site-request-forgery?utm_source=hashnode&utm_medium=feed)

[Bastien Mirlicourtois](https://hashnode.com/@bmirlico) · [Jun 4](https://hashnode.com/posts/web-security-101-how-attackers-borrow-your-identity-and-how-to-stop-them/6a2196b4e8eaebfc692fbe8e)

### [Web Security 101 — how attackers borrow your identity, and how to stop them](https://thelearningmachine.dev/web-security-101-how-attackers-borrow-your-identity-and-how-to-stop-them?utm_source=hashnode&utm_medium=feed)

I kept seeing the same advice. "Sanitize your inputs." "Set HttpOnly." "Add a CSRF token." I knew these mattered. I even knew how to apply them. But I couldn't have told you what I was actually defend

16 min read · [thelearningmachine.dev](https://thelearningmachine.dev/web-security-101-how-attackers-borrow-your-identity-and-how-to-stop-them?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/web-security-101-how-attackers-borrow-your-identity-and-how-to-stop-them/6a2196b4e8eaebfc692fbe8e)

[Hammad Khan](https://hashnode.com/@hammadxcm) · [May 22](https://hashnode.com/posts/csrf-double-submit-cookies-saas/6a10c7ca1f237623ea362809)

### [CSRF Double-Submit Cookies: The Underrated Defense for Same-Origin SaaS](https://hammad-khan.hashnode.dev/csrf-double-submit-cookies-saas?utm_source=hashnode&utm_medium=feed)

Why SameSite=Lax isn't enough for a real SaaS portal — and how double-submit cookies fill the gap without the session-state baggage of synchronizer tokens.

10 min read · [hammad-khan.hashnode.dev](https://hammad-khan.hashnode.dev/csrf-double-submit-cookies-saas?utm_source=hashnode&utm_medium=feed)

[Nishil Bhave](https://hashnode.com/@nishilbhave) · [Mar 29](https://hashnode.com/posts/how-to-secure-an-api-the-4-layer-framework-that-works/69c99fda690b7c71c1a2fbb8)

### [How to Secure an API: The 4-Layer Framework That Works](https://nishilbhave.hashnode.dev/how-to-secure-an-api-the-4-layer-framework-that-works?utm_source=hashnode&utm_medium=feed)

How to Secure an API: The 4-Layer Framework That Works APIs are the backbone of every modern app. They are also the most common entry point for attackers. Most developers bolt security on as an afterthought: one middleware, one config flag, one if us...

14 min read · [nishilbhave.hashnode.dev](https://nishilbhave.hashnode.dev/how-to-secure-an-api-the-4-layer-framework-that-works?utm_source=hashnode&utm_medium=feed)

[Shaishab Chandra Shil](https://hashnode.com/@shaishab316) · [Mar 15](https://hashnode.com/posts/csrf-token-to-protect-cookies/69b6c41cf4eb2f8b0493489f)

### [CSRF token to protect cookies](https://shaishab316.hashnode.dev/csrf-token-to-protect-cookies?utm_source=hashnode&utm_medium=feed)

The Shield Your Cookies

4 min read · [shaishab316.hashnode.dev](https://shaishab316.hashnode.dev/csrf-token-to-protect-cookies?utm_source=hashnode&utm_medium=feed)

[AbolFazl](https://hashnode.com/@mp7yo) · [Feb 27](https://hashnode.com/posts/from-client-regex-to-server-bug/689df7ef88b996a646c1447e)

### [From Client Regex to Server Bug: We Hunted CORS and CSRF](https://mp7y0.hashnode.dev/from-client-regex-to-server-bug?utm_source=hashnode&utm_medium=feed)

Introduction CORS misconfigurations are everywhere. But spotting the real ones takes more than payloads — it takes understanding the trust model hidden beneath the surface. This is a short story of ho

4 min read · [mp7y0.hashnode.dev](https://mp7y0.hashnode.dev/from-client-regex-to-server-bug?utm_source=hashnode&utm_medium=feed)
