{"id":"CVE-2017-18892","aliases":["GHSA-wj5w-qghh-gvqp","GO-2026-4317"],"kind":"cve","tier":"cold","status":"published","title":"Mattermost Server does not neutralize HTML content in an Email template field","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.","ai_summary":null,"severity":"medium","cvss":{"score":6.1,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"NVD"},"scores":[{"score":6.1,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd"},{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd"}],"cwe":["CWE-116"],"remote":true,"remote_unauth":true,"epss":{"score":0.0069,"percentile":0.5408,"date":"2026-12-01"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","affected":"< 4.0.5","fixed":["4.0.5","4.1.1","4.2.0","4.0.5+incompatible","4.1.1+incompatible","4.2.0+incompatible"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade github.com/mattermost/mattermost-server to one of 4.0.5, 4.1.1, 4.2.0, 4.0.5+incompatible, 4.1.1+incompatible, 4.2.0+incompatible (or later in the same release line).","technologies":[],"references":[{"url":"https://mattermost.com/security-updates/","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18892","kind":"vendor"},{"url":"https://github.com/advisories/GHSA-wj5w-qghh-gvqp","kind":"vendor"},{"url":"https://github.com/mattermost/mattermost/commit/4e05fbffed4d7ad75c0bb55d67d2c6f7cf9eaad6","kind":"patch"},{"url":"https://github.com/mattermost/mattermost/commit/d76946bdb545aba4088943fc523dabb459d22873","kind":"patch"},{"url":"https://github.com/mattermost/mattermost/commit/f5167f3ba645b829f4c28530e13be6c3db967255","kind":"patch"},{"url":"https://github.com/mattermost/mattermost","kind":"other"},{"url":"https://mattermost.com/security-updates","kind":"other"}],"workarounds":null,"vendors":["mattermost"],"products":["mattermost_server"],"cpes":["cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","cpe:2.3:a:mattermost:mattermost_server:4.2.0:rc1:*:*:*:*:*:*","cpe:2.3:a:mattermost:mattermost_server:4.2.0:rc2:*:*:*:*:*:*","cpe:2.3:a:mattermost:mattermost_server:4.2.0:rc3:*:*:*:*:*:*","cpe:2.3:a:mattermost:mattermost_server:4.2.0:rc4:*:*:*:*:*:*"],"published_at":"2020-06-19T18:08:51.000Z","modified_at":"2026-06-17T01:13:46.880Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18892"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-wj5w-qghh-gvqp","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GO-2026-4317","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2017-18892","markdown":"https://flawdb.com/CVE-2017-18892.md","json":"https://flawdb.com/api/v1/entries/CVE-2017-18892"}}