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

CVE-2017-18892: Mattermost Server does not neutralize HTML content in an Email template field

May 24, 2022 (updated January 14, 2026)

An issue was discovered in Mattermost Server before 4.2.0, 4.1.1, and 4.0.5. E-mail templates can have a field in which HTML content is not neutralized.

References

  • github.com/advisories/GHSA-wj5w-qghh-gvqp
  • github.com/mattermost/mattermost
  • github.com/mattermost/mattermost/commit/4e05fbffed4d7ad75c0bb55d67d2c6f7cf9eaad6
  • github.com/mattermost/mattermost/commit/d76946bdb545aba4088943fc523dabb459d22873
  • github.com/mattermost/mattermost/commit/f5167f3ba645b829f4c28530e13be6c3db967255
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2017-18892

Code Behaviors & Features

Detect and mitigate CVE-2017-18892 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 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-116: Improper Encoding or Escaping of Output

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 04 Feb 2026 00:36:03 +0000.