CVE-2017-18893Mattermost Server
Medium 6.1 No auth needed
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 48
- Auth required
- No
- Published
- Jun 19, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
An issue was discovered in Mattermost Server before 4.2.0, 4.1.1, and 4.0.5. Display names allow XSS.
What to do
- Apply the vendor's security update for Mattermost Server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/mattermost/mattermost-server |
< 4.0.5 |
4.0.5 |
go get github.com/mattermost/mattermost-server@v4.0.5 |
| Go | github.com/mattermost/mattermost-server |
≥ 4.1.0 < 4.1.1 |
4.1.1 |
go get github.com/mattermost/mattermost-server@v4.1.1 |
| Go | github.com/mattermost/mattermost-server |
≥ 4.2.0-rc1 < 4.2.0 |
4.2.0 |
go get github.com/mattermost/mattermost-server@v4.2.0 |
| Go | github.com/mattermost/mattermost-server |
< 4.0.5+incompatible |
4.0.5+incompatible |
go get github.com/mattermost/mattermost-server@v4.0.5+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 4.1.0+incompatible < 4.1.1+incompatible |
4.1.1+incompatible |
go get github.com/mattermost/mattermost-server@v4.1.1+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 4.2.0-rc1+incompatible < 4.2.0+incompatible |
4.2.0+incompatible |
go get github.com/mattermost/mattermost-server@v4.2.0+incompatible |
Per OSV / GitHub Advisories (GHSA-887v-xh2x-47cm, GO-2026-4296). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | < 4.0.5 |
| mattermost | mattermost_server | ≥ 4.1.0 < 4.1.1 |
| mattermost | mattermost_server | 4.2.0 |
| mattermost | mattermost_server | 4.2.0 |
| mattermost | mattermost_server | 4.2.0 |
| mattermost | mattermost_server | 4.2.0 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:0142-1 · Jan 17, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory