An unauthenticated remote attacker (MITM) can intercept the websocket messages to gain access to the login credentials for the Webfrontend.
Login pages do not use adequate measures to protect the user name and password while they are in transit from the client to the server.