News for hackers. Stuff that matters.
Re:Ask HN: What do you use for authentication and authorizat... by metafunctor on Saturday December 29, 2018 @03:32AM (#18782657)
We are talking about XSS, where an attacker can run their JS code on your page. If the attacker can run JS on your page, they can already do whatever your signed-in user can do. No need to read the cookie to make authenticated requests, just like your own code doesn’t need to read the cookie.

There are no comments on this comment yet.