Why is putting a CSRF token only in a cookie, without requiring a matching token in a request header or body, a weak control?
- ACookies cannot be marked Secure
- BThe browser will still attach that cookie automatically on cross-site requests, so the to…
- CCSRF tokens are only valid for WebSocket upgrades
- DSameSite=Strict is implied by any CSRF cookie