DEV Community

Can Türk
Can Türk

Posted on Originally published at iamcanturk.dev AI-assisted

CVE-2026-28403: Missing WebSocket origin validation (Cross-Site WebSocket Hijacking)

Textream's local WebSocket server did not validate the Origin header. A malicious web page visited by the user could silently connect to it and send commands.

Summary

In Textream for macOS prior to 1.5.1, the DirectorServer WebSocket server accepted connections from any origin without validating the HTTP Origin header during the handshake.

Impact

A malicious web page visited in the same browser session could silently connect to the local WebSocket server and send arbitrary commands.

Fix

Update to 1.5.1 or later. If you write your own WebSocket server, compare the Origin header against an allowlist during the handshake and reject anything that doesn't match.

References:


Originally published at iamcanturk.dev.

Top comments (0)