Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
Lifecycle Timeline
1DescriptionCVE.org
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
AnalysisAI
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.
Technical ContextAI
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.
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.
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 weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-30742
GHSA-jx93-pf6x-874r