GitHub Advisoryadvisory · Go
GHSA-wj5w-qghh-gvqp Mattermost Server does not neutralize HTML content in an Email template field
MEDIUM
Official page ↗
- Aliases
- CVE-2017-18892
- Ecosystem
- Go
- Packages
- github.com/mattermost/mattermost-server
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-116
- Reviewed
- 2026-01-12
Affected packages
• Go github.com/mattermost/mattermost-server: < 4.0.5 → fixed in 4.0.5
• Go github.com/mattermost/mattermost-server: >= 4.1.0, < 4.1.1 → fixed in 4.1.1
• Go github.com/mattermost/mattermost-server: >= 4.2.0-rc1, < 4.2.0 → fixed in 4.2.0
Description
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.
Related
Alias · CVE (1)
- CVE-2017-18892 An issue was discovered in Mattermost Server before 4.2.0, 4.1.1, and 4.0.5. vulnerability
Weakness · CWE (1)
- CWE-116 Improper Encoding or Escaping of Output weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-18892 advisory
- https://github.com/mattermost/mattermost/commit/4e05fbffed4d7ad75c0bb55d67d2c6f7cf9eaad6 web
- https://github.com/mattermost/mattermost/commit/d76946bdb545aba4088943fc523dabb459d22873 web
- https://github.com/mattermost/mattermost/commit/f5167f3ba645b829f4c28530e13be6c3db967255 web
- https://github.com/mattermost/mattermost package
- https://mattermost.com/security-updates web