You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 4, 2026. It is now read-only.
Currently, the application does not implement anti-CSRF tokens for POST/PUT/DELETE requests. This means a malicious site can trick an authenticated user's browser into making state-changing requests to the API, leading to unauthorized actions.
Proposed Solution
I propose implementing the Double Submit Cookie pattern or synchronizer token pattern for all state-changing API routes. This involves sending a unique CSRF token in a secure cookie and verifying it against a custom request header on the server.
I would love to work on this critical security issue under the GSSoC '24 program! Could you please assign it to me?
Description
Currently, the application does not implement anti-CSRF tokens for POST/PUT/DELETE requests. This means a malicious site can trick an authenticated user's browser into making state-changing requests to the API, leading to unauthorized actions.
Proposed Solution
I propose implementing the Double Submit Cookie pattern or synchronizer token pattern for all state-changing API routes. This involves sending a unique CSRF token in a secure cookie and verifying it against a custom request header on the server.
I would love to work on this critical security issue under the GSSoC '24 program! Could you please assign it to me?