The vulnerability lies in the NotificationGateway's handleConnection method, which is responsible for handling new WebSocket connections. The vulnerability description states that a cross-tenant authorization flaw allowed any authenticated user to subscribe to another organization's notification channel. This is confirmed by analyzing the patch in commit 53b2460f468598312a927475c227188d7ce13f41. Before the patch, the code would accept a client-supplied organizationId from the WebSocket handshake and join the client to the corresponding notification room without verifying if the authenticated user (identified by payload.sub from the JWT) was actually a member of that organization. The patch introduces a check using this.organizationUserService.exists(organizationId, payload.sub) to validate the user's membership in the organization before allowing them to join the notification room. This directly mitigates the described vulnerability.