News for hackers. Stuff that matters.
Re:Why do we have both CSRF protection and CORS? by Sohcahtoa82 on Monday March 03, 2025 @05:08PM (#43247443)
> > What stops a script on evil.com from going to bank.com...

> CORS

Incorrect. It's SOP that prevents an evil.com script from going to bank.com

It's CORS that allows evil.com. CORS is an insecurity feature that relaxes the SOP.

There are no comments on this comment yet.