CVE-2017-18871 · mitre
CVE-2017-18871
An issue was discovered in Mattermost Server before 4.5.0, 4.4.5, 4.3.4, and 4.2.2. It allows attackers to cause a denial of service (application crash) via an @ character before a JavaScript field name.
Published 2020-06-19, last changed 2026-06-17.
How to fix
Upgrade to a fixed version: github.com/mattermost/mattermost-server 4.2.2+incompatible, 4.2.2, 4.3.4+incompatible, 4.3.4, 4.4.5+incompatible, 4.4.5 (Go) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in mattermost/mattermost by 967838fb60, 8f6bb1570d, 3890bc7079. Functions changed by the fix: updateOAuthApp, runServer, SetDefaults, Init. Regression tests: api4/oauth_test.go. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2020-06-19 | Published |
| 2022-05-24 | Package advisory GHSA-jc6w-8r7f-vmp5 |
| 2025-12-08 | Package advisory GO-2025-4184 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.12% |
| 2026-12-03 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-jc6w-8r7f-vmp5 | github.com/mattermost/mattermost-server (Go) | 4.2.2 |
| GHSA-jc6w-8r7f-vmp5 | github.com/mattermost/mattermost-server (Go) | 4.3.4 |
| GHSA-jc6w-8r7f-vmp5 | github.com/mattermost/mattermost-server (Go) | 4.4.5 |
| GHSA-jc6w-8r7f-vmp5 | github.com/mattermost/mattermost-server (Go) | 4.5.0 |
| GO-2025-4184 | github.com/mattermost/mattermost-server (Go) | 4.2.2+incompatible, 4.3.4+incompatible, 4.4.5+incompatible, 4.5.0+incompatible |
Also known as: GHSA-jc6w-8r7f-vmp5, GO-2025-4184
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-8823 | 2026-06-22 | 3.8 | User Manager can demote bot accounts to guest without bot-management permission |
| CVE-2026-9162 | 2026-06-22 | 4.3 | Global session revocation does not invalidate active WebSocket connections |
| CVE-2026-8074 | 2026-06-22 | 3.8 | Improper Permission Check Allows User Manager to Deactivate Bot Accounts |
| CVE-2026-6673 | 2026-06-22 | 6.4 | Mattermost Jira plugin had unauthenticated {{/ac/installed}} lifecycle callback during pending Jira Cloud install |
| CVE-2026-6062 | 2026-06-22 | 6.4 | IDOR in Jira plugin subscription edit endpoint |
| CVE-2026-5139 | 2026-06-22 | 5.4 | GitLab Plugin Allows Non-Admin Users to Modify Default Instance Configuration |
| CVE-2026-7387 | 2026-06-12 | 8.8 | Mattermost group syncable endpoints allow privilege escalation via scheme_admin |
| CVE-2026-7184 | 2026-06-12 | 6.5 | Mattermost Remote Cluster PATCH API Leaks Authentication Tokens |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-18871, or call /api/v1/vulnerabilities/CVE-2017-18871. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.