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

CVE-2017-18904: Mattermost Server vulnerable to XSS via an uploaded file

May 24, 2022 (updated January 12, 2026)

An issue was discovered in Mattermost Server before 4.0.0, 3.10.2, and 3.9.2. It allows XSS via an uploaded file.

References

  • github.com/advisories/GHSA-8pff-p3gx-w4jf
  • github.com/mattermost/mattermost
  • github.com/mattermost/mattermost/commit/6a2754376c8c8270be5e11e3fdab589659d0cc8d
  • github.com/mattermost/mattermost/commit/bde06a7bc3a03a56da224c1ffcd8bffb0af8071b
  • github.com/mattermost/mattermost/commit/f06c5bef4d78966c60b153bbec6eea4ec0be9e68
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2017-18904

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.9.2, all versions starting from 3.10.0 before 3.10.2

Fixed versions

  • 3.9.2
  • 3.10.2

Solution

Upgrade to versions 3.10.2, 3.9.2 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-18904.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 04 Feb 2026 00:35:13 +0000.