Skip to main content

Mattermost Desktop App CVE-2026-3471

| EUVDEUVD-2026-30757 MEDIUM
Improper Authorization in Handler for Custom URL Scheme (CWE-939)
2026-05-18 Mattermost GHSA-fhqj-97rr-gvhp
6.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
6.5 MEDIUM
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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Analysis Generated
May 18, 2026 - 09:32 vuln.today

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

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.

CVE-2026-48801 HIGH POC
8.7 Jun 26

Denial of service in linkify-it (npm) through v5.0.0 lets remote unauthenticated attackers wedge a rendering worker by s

CVE-2022-4044 MEDIUM POC
6.5 Nov 23

A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large auto

CVE-2022-3257 MEDIUM POC
6.5 Sep 23

Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded w

CVE-2023-6458 CRITICAL
9.8 Dec 06

Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perf

CVE-2020-26276 CRITICAL
9.8 Dec 17

Fleet is an open source osquery manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2024-39777 CRITICAL
9.6 Aug 01

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

CVE-2020-26290 CRITICAL
9.6 Dec 28

Dex is a federated OpenID Connect provider written in Go. Rated critical severity (CVSS 9.6), this vulnerability is remo

CVE-2026-9354 MEDIUM POC
5.5 May 24

Improper output escaping in NousResearch Hermes Agent versions up to 2026.4.16 allows remote unauthenticated attackers t

CVE-2022-1002 MEDIUM POC
5.4 Mar 18

Mattermost 6.3.0 and earlier fails to properly sanitize the HTML content in the email invitation sent to guest users, wh

CVE-2023-2193 CRITICAL
9.1 Apr 20

Mattermost fails to invalidate existing authorization codes when deauthorizing an OAuth2 app, allowing an attacker posse

CVE-2026-7387 HIGH
8.8 Jun 12

Privilege escalation in Mattermost server (11.6.x, 11.5.x, and 10.11.x branches) allows a low-privileged user holding gr

CVE-2026-3524 HIGH
8.8 Apr 06

Authorization bypass in Mattermost Plugin Legal Hold versions <=1.1.4 allows authenticated attackers to manipulate legal

Share

CVE-2026-3471 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy