Skip to main content

Mattermost CVE-2026-3495

| EUVDEUVD-2026-30742 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-18 Mattermost GHSA-jx93-pf6x-874r
4.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Compromise admin credentials
  2. Delivery
    Authenticate to system console
  3. Exploit
    Inject JS into config fields
  4. Execution
    Error page triggers
  5. Persist
    Script executes in victim browser
  6. Impact
    Exfiltrate session tokens

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires authenticated administrative access (PR:H) to Mattermost's site configuration interface, specifically the ability to edit configuration variables that are incorporated into error page templates. The exact configuration fields vulnerable to injection are not disclosed in available data but are restricted to administrator-only settings per the high privilege requirement in CVSS vector. No special network conditions, non-default features, or user interaction beyond normal admin workflows are required once administrative access is obtained. Limiting factors: administrative authentication is mandatory, reducing viable attackers to malicious insiders or compromised admin accounts; the vulnerability affects server-side error page generation rather than general user-facing inputs; impacts remain within the application's security boundary (S:U) and cannot be used to directly compromise the underlying host system.

Impact

Real-world risk is moderate-to-low despite the network attack vector (AV:N). The CVSS base score of 3.8 reflects critical limiting factors: high privileges required (PR:H) means only authenticated system administrators can exploit this, and the unchanged scope (S:U) indicates the vulnerability cannot escape the security context of the vulnerable component. Attack complexity is low (AC:L) with no user interaction required (UI:N), but the prerequisite administrative access substantially reduces the attack surface to insider threats or compromised admin accounts. Impacts are limited to low confidentiality and integrity (C:L/I:L) with no availability impact (A:N). No CISA KEV listing and no confirmed public exploit code at time of analysis. The SSVC framework would likely classify this as 'scheduled' remediation priority given the authenticated-admin prerequisite and absence of confirmed exploitation. The primary risk scenario involves malicious insiders or attackers who have already compromised administrative credentials seeking to establish persistence or exfiltrate session tokens from other administrators viewing error pages.

Exploit ScenarioDerived

An attacker with compromised administrative credentials authenticates to the Mattermost server and navigates to the system console configuration interface. They inject malicious JavaScript payloads (e.g., session token exfiltration code) into specific site configuration fields that are used during error page composition. When legitimate administrators or users trigger error conditions that render these templates, the injected script executes in their browser context, potentially stealing session cookies or performing actions on their behalf. The low attack complexity (AC:L) means exploitation requires only standard administrative access without timing dependencies or race conditions.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 18, 2026

Cross-site scripting (XSS) in Mattermost Server 10.11.0-10.11.13 and 11.5.0-11.5.1 enables authenticated administrators to inject JavaScript code through unescaped variables in error page templates. Exploitation requires high-privilege (PR:H) administrative access to site configuration settings, limiting real-world risk despite network-based attack vector (AV:N). No active exploitation confirmed (not in CISA KEV). EPSS data not available for recent CVE. This is a stored XSS vulnerability affecting administrative workflows rather than end users.

RemediationAI

Upgrade to Mattermost Server version 10.11.14 or later for the 10.11.x branch, or version 11.5.2 or later for the 11.5.x branch (exact patched versions inferred from vulnerable range endpoints but not independently verified from available data). Consult the official Mattermost security advisory at https://mattermost.com/security-updates for confirmed fix versions and upgrade instructions. If immediate patching is not feasible, implement compensating controls: restrict administrative access to the site configuration interface using role-based access controls, enable multi-factor authentication for all administrator accounts, monitor audit logs for unexpected configuration changes to error-handling related settings, and consider implementing Content Security Policy headers to mitigate JavaScript execution risks (note: CSP may interfere with legitimate Mattermost functionality and requires testing). These workarounds reduce but do not eliminate risk as the underlying input validation flaw remains.

Affected VersionsENISA

Mattermost 11.5.0 ≤11.5.1
Mattermost 10.11.0 ≤10.11.13

Affected Packages

go github.com/mattermost/mattermost-server fix: 5.3.2-0.20260310115442-5a1ea95044dc, 10.11.14+incompatible, 11.5.2+incompatible
go github.com/mattermost/mattermost-server/v5 no fix
go github.com/mattermost/mattermost-server/v6 no fix
go github.com/mattermost/mattermost/server/v8 fix: 8.0.0-20260310115442-5a1ea95044d, 10.11.14, 11.5.2
euvd mattermost no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 5 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability stems from improper neutralization of input during web page generation (CWE-79). Mattermost's error page composition logic fails to sanitize certain configuration variables before rendering them in HTML responses. When an administrator edits specific site configuration fields (exact fields not disclosed in available data), the application stores and later displays these values without proper output encoding. The affected component processes these values server-side during error condition handling, allowing injected JavaScript to execute in the context of users viewing error pages. The CPE identifier confirms impact to Mattermost server deployments across the specified version ranges, with no platform-specific restrictions noted.

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

NVD PRIMARY 4.8 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Severity Changed
Oct 14, 2026 - 20:23 NVD
LOW MEDIUM
CVSS changed
Oct 14, 2026 - 20:23 NVD
3.8 (LOW) 4.8 (MEDIUM)

DescriptionNVD

Mattermost versions 11.5.x <= 11.5.1, 10.11.x <= 10.11.13 fail to escape some variables that could contain malicious content during error page composition which allows an attacker with access to edit some site configuration to execute some malicious code via injecting some JS as part of those values.. Mattermost Advisory ID: MMSA-2026-00622

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2025-25279 CRITICAL
9.9 Feb 24

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 boa

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-2025-4981 CRITICAL
9.9 Jun 20

A remote code execution vulnerability (CVSS 9.9) that allows authenticated users. Critical severity with potential for s

CVE-2025-20051 CRITICAL
9.9 Feb 24

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

CVE-2025-12421 CRITICAL
9.9 Nov 27

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

CVE-2025-12419 CRITICAL
9.9 Nov 27

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

CVE-2026-4858 CRITICAL
9.9 May 21

Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the

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-2025-24490 CRITICAL
9.6 Feb 24

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

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