Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Non-browser clients can "send fake |Origin| header fields, misleading the server." [RFC 6455] So checking the origin is not sufficient to cover all attack possibilities. Commented Feb 1, 2017 at 14:42
  • 1
    CSRF requires a browser, and the attacker isn't the one using this browser. It is a client-side attack and involves "tricking" the victim browser into making a request, which will pass the Origin from the victim browser of which the attacker has no control of. Commented Feb 1, 2017 at 14:45