Glossary
Terms and sources
One name per thing. The links are the documents behind the claims.
Triagers need the same word you use. Use these words the same way in notes and in reports. Do not swap in a synonym to vary the sentence.
WebSocket
Section titled “WebSocket”A protocol that starts as one HTTP request and then carries frames in both directions. Defined in RFC 6455.
Handshake
Section titled “Handshake”The opening HTTP request with Upgrade: websocket, plus the response status 101.
It is the only HTTP moment on that connection.
One unit after the handshake. It has an opcode and a payload. It has no method, path, or HTTP headers.
Full-duplex
Section titled “Full-duplex”Both sides can send at the same time. A socket is full-duplex. A single HTTP request is not.
Origin
Section titled “Origin”The header that names the page that opened the socket. The browser sets it. Page script cannot set it. CWE-1385 is the weakness of not checking it.
Cross-site WebSocket hijacking. Another origin opens a socket, and the server treats it as the logged-in account.
Namespace
Section titled “Namespace”The path or Socket.IO name that selects which application handler you reached.
/admin is a namespace in this guide, not a decoration.
A pub-sub name the server uses to decide who receives a broadcast. A room string is an authorization decision.
Action
Section titled “Action”The application command inside a frame, often a JSON field named action. The set of action names is a second API.
Same-site
Section titled “Same-site”The registrable domain, not the exact origin.
https://a.target.com and https://b.target.com are the same site.
They are not the same origin.
Sources
Section titled “Sources”RFC 6455 is the handshake, the accept checksum, the mask rule, and the opcodes. CWE-1385 names missing Origin validation, and lists CSWSH as the alternate term. The OWASP cheat sheet tells the server to allow-list Origin and to close dead sessions. The WSTG WebSockets page is the test outline, and it points at broken access control. PortSwigger states the two-way difference from CSRF. Christian Schneider is the 2013 write-up that named the bug. Include Security is the April 2025 browser test of SameSite and CSWSH. Praetorian is the CVE-2024-26135 write-up that separates cross-site from same-site.
Word counts in this guide use spaces between words. That is not the official STE counting method. The STE dictionary was not verified against this text. Nothing here is an ASD certification or an ASD endorsement.
Next, run the checklist on a target you are allowed to test.
Open local graph around this page
Linked from here
Links out to
No outgoing internal links on this page.
WebSocketFor authorized testing only.