Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Lifecycle Timeline
1DescriptionCVE.org
Mattermost Desktop App versions <=6.1 6.0.1 5.4.13.0 fail to prevent an invalid URL from loading in a pop-up window in the Mattermost Desktop App which allows a malicious server owner to repeated crash the application via calling {{window.open('javascript:alert()');}}. Mattermost Advisory ID: MMSA-2026-00618
AnalysisAI
Mattermost Desktop App can be repeatedly crashed by malicious server administrators through JavaScript URL injection in pop-up windows. Attackers controlling a Mattermost server can force connected desktop clients to become unusable by exploiting improper URL validation, requiring user interaction (connecting to the malicious server). No public exploit code identified at time of analysis, though the attack method is trivial to implement given the disclosed details.
Technical ContextAI
The vulnerability stems from CWE-939 (Improper Authorization in Handler for Custom URL Scheme), where the desktop application fails to validate URLs passed to window.open() calls. The Electron-based Mattermost Desktop App allows JavaScript execution within pop-up window contexts without proper sanitization of javascript: protocol URIs. When a server sends instructions to open a window with a javascript: URL, the application executes the code rather than blocking the dangerous protocol. This affects the desktop client's BrowserWindow configuration and URL handling logic, specifically the lack of proper protocol allowlisting for new window creation. The affected CPE indicates the core Mattermost application framework, though this vulnerability is specific to the desktop client implementation across Windows, macOS, and Linux platforms.
RemediationAI
Upgrade Mattermost Desktop App to version 6.2 or later, which implements proper URL protocol validation for pop-up windows (specific patched version inferred from vulnerable version ceiling of 6.1; verify exact release number at https://mattermost.com/security-updates). Until patching is complete, implement compensating controls: restrict desktop client connections to only trusted, organizationally-controlled Mattermost servers through endpoint configuration policies or network firewall rules blocking external Mattermost server connections (trade-off: eliminates remote collaboration capabilities with external partners). Organizations can also enforce browser-based client usage instead of desktop app for connections to untrusted servers (trade-off: reduced offline functionality and desktop integration features). For high-security environments, disable JavaScript execution in desktop client if application settings permit, though this may break legitimate server functionality and is not a recommended long-term solution.
More in Mattermost
View allDenial of service in linkify-it (npm) through v5.0.0 lets remote unauthenticated attackers wedge a rendering worker by s
A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large auto
Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded w
Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perf
Fleet is an open source osquery manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to disallow unsolicited invit
Dex is a federated OpenID Connect provider written in Go. Rated critical severity (CVSS 9.6), this vulnerability is remo
Improper output escaping in NousResearch Hermes Agent versions up to 2026.4.16 allows remote unauthenticated attackers t
Mattermost 6.3.0 and earlier fails to properly sanitize the HTML content in the email invitation sent to guest users, wh
Mattermost fails to invalidate existing authorization codes when deauthorizing an OAuth2 app, allowing an attacker posse
Privilege escalation in Mattermost server (11.6.x, 11.5.x, and 10.11.x branches) allows a low-privileged user holding gr
Authorization bypass in Mattermost Plugin Legal Hold versions <=1.1.4 allows authenticated attackers to manipulate legal
Same technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-30757
GHSA-fhqj-97rr-gvhp