Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSocial engineer user to connect to malicious server
-
DeliveryInject window.open() with javascript: URL
-
ExploitDesktop app attempts to render pop-up
-
ExecutionImproper URL validation allows JavaScript execution
-
PersistApplication crashes
-
ImpactRepeat automated crash cycle
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V4 - API and Web Service Improper authorization in handler
|
| Exploitation Conditions | Requires victim to connect Mattermost Desktop App to an attacker-controlled or compromised Mattermost server. The attacker must have server administrator privileges or ability to inject JavaScript execution commands through the server's messaging or plugin system. Users must be running vulnerable desktop application versions (6.1 or earlier) and actively connected to the malicious server when the window.open() call is triggered. Exploitation does not require any special desktop application configuration beyond default settings - the vulnerability exists in standard installations. The user interaction requirement (UI:R in CVSS) is connecting to and maintaining a session with the malicious server, not clicking a specific link or prompt. |
| Impact | Real-world risk is moderate and contextual. CVSS 6.5 (AV:N/AC:L/PR:N/UI:R) indicates network-reachable attack with low complexity but required user interaction. The EPSS data is not provided, limiting quantitative exploitation probability assessment. Not listed in CISA KEV, indicating no confirmed widespread active exploitation. The attack requires users to connect their desktop client to a malicious or compromised Mattermost server, significantly limiting the attack surface compared to truly unauthenticated remote exploits. Impact is strictly availability (A:H) with no confidentiality or integrity compromise, reducing business risk compared to data-exfiltration vulnerabilities. The trivial nature of the exploit code (single JavaScript function call) means any server administrator can weaponize this, but the prerequisite of controlling a server that targets trust creates natural friction. Organizations using self-hosted Mattermost with trusted administrators face minimal risk; those connecting to external or multi-tenant servers should prioritize patching. The repeated crash capability could enable denial-of-service against specific users or teams, disrupting business communications. |
| Exploit ScenarioDerived | An attacker compromises a Mattermost server or operates a malicious server, then social engineers targets to connect their desktop clients to it. Once connected, the attacker injects JavaScript calling window.open('javascript:alert()') through server-side channels, immediately crashing the victim's desktop application. The attacker can automate repeated crash triggers, rendering the application unusable and forcing victims to reinstall or reconfigure, disrupting team communications and productivity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 18, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Mattermost gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
DescriptionCVE.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
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Mattermost
View allMattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate boa
Denial 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
A remote code execution vulnerability (CVSS 9.9) that allows authenticated users. Critical severity with potential for s
Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate inp
Mattermost versions 11.0.x <= 11.0.2, 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12 fail to to verify that t
Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly validat
Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the
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 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to use prepared statemen
EUVD-2026-30757
GHSA-fhqj-97rr-gvhp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB