-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
Description
Description and goal
The Sec-Fetch-Site HTTP header field is set by modern Web browsers and allows servers to easily protect against CSRF.
editoast doesn't have a lot of state-changing simple requests, so the risk isn't very high. At worst, CSRF could be used to change a rolling stock's image, or to send a STDCM railway manager request. Still, we may introduce more simple requests in the future, and better be safe than sorry.
See https://words.filippo.io/csrf/
Acceptance criteria
.