Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost-server
  4. ›
  5. CVE-2017-18893

CVE-2017-18893: Mattermost Server is vulnerable to XSS through display name field

May 24, 2022 (updated January 12, 2026)

An issue was discovered in Mattermost Server before 4.2.0, 4.1.1, and 4.0.5. Display names allow XSS.

References

  • github.com/advisories/GHSA-887v-xh2x-47cm
  • github.com/mattermost/mattermost
  • github.com/mattermost/mattermost/commit/2a4d88d07c5815deac103e109550d25338507151
  • github.com/mattermost/mattermost/commit/670bfbf62686ebe9f2ab332733d851a62b6950b0
  • github.com/mattermost/mattermost/commit/d0b42b9e527e93a61fd06a9b9106fc97067807e4
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2017-18893

Code Behaviors & Features

Detect and mitigate CVE-2017-18893 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.0.5, all versions starting from 4.1.0 before 4.1.1, all versions starting from 4.2.0-rc1 before 4.2.0

Fixed versions

  • 4.0.5
  • 4.1.1
  • 4.2.0

Solution

Upgrade to versions 4.0.5, 4.1.1, 4.2.0 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/mattermost/mattermost-server/CVE-2017-18893.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:49 +0000.