Skip to content

In-depth lesson · Cross-site WebSocket hijacking

Reports behind this point

Validate the Origin header on every WebSocket handshake and reject connections from unexpected origins.