David Klempfner
May 23, 2022

--

CSRF attacks are not an issue these days since most users are using up to date browsers.

The default value for the samesite directive in the Set-Cookie header is "lax". This means, by default, cookies are not sent cross domain.

The only way a CSRF attack is possible is if, some how, the developer accidentally set a different value for the samesite directive, or, the user is using a super old browser.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

David Klempfner
David Klempfner

Written by David Klempfner

I’m a software developer who is passionate about learning how things work behind the scenes.

No responses yet

Write a response