The issue arises from improper enforcement of message integrity during transmission in a communication channel. This allows a man-in-the-middle attacker to steal user credentials. The problem occurs because a session retrieves global.js via http before proceeding to use https.