CVE-2017-18892
MEDIUM 6.1CVSS 3.1Mattermost Server does not neutralize HTML content in an Email template field
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.
- Published
- 19 Jun 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-116
- Also known as
- GHSA-wj5w-qghh-gvqpGO-2026-4317
- Sources
- NVDJSONOSV GHSA-wj5w-qghh-gvqpJSONOSV GO-2026-4317JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
< 4.0.5 | 4.0.5 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 4.1.0, < 4.1.1 | 4.1.1 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:4.2.0:rc1:*:*:*:*:*:* |
= 4.2.0 | |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:4.2.0:rc2:*:*:*:*:*:* |
= 4.2.0 | |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:4.2.0:rc3:*:*:*:*:*:* |
= 4.2.0 | |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:4.2.0:rc4:*:*:*:*:*:* |
= 4.2.0 | |
| OSV | Go | github.com/mattermost/mattermost-server | < 4.0.5 | 4.0.5 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 4.1.0, < 4.1.1 | 4.1.1 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 4.2.0-rc1, < 4.2.0 | 4.2.0 |
| OSV | Go | github.com/mattermost/mattermost-server | < 4.0.5+incompatible; >= 4.1.0+incompatible, < 4.1.1+incompatible; >= 4.2.0-rc1+incompatible, < 4.2.0+incompatible | 4.0.5+incompatible, 4.1.1+incompatible, 4.2.0+incompatible |
References
- https://mattermost.com/security-updates/ · Vendor Advisory, WEB
- 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://github.com/advisories/GHSA-wj5w-qghh-gvqp · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 19 Jun 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2022)