Calling window.close() from server-side content causes crash in the Mattermost Desktop App
Mattermost
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Mattermost Mattermost |
|
|
Original description
Mattermost Desktop App versions <=6.1 6.0.1 5.4.13.0 fail to prevent server-rendered content from closing an underlying application view in the Mattermost Desktop App which allows a malicious server or plugin to crash the desktop client via invoking {{window.close()}} in the renderer context, leading to a denial of service condition at the client level. Mattermost Advisory ID: MMSA-2026-00633