{"id":"CVE-2017-18893","published":"2020-06-19T18:10:57Z","modified":"2024-08-05T21:37:44Z","title":"An issue was discovered in Mattermost Server before 4.2.0, 4.1.1, and 4.0.5","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue was discovered in Mattermost Server before 4.2.0, 4.1.1, and 4.0.5. Display names allow XSS.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0069,"percentile":0.53734,"provenance":"source"},"cwes":[],"references":[{"url":"https://mattermost.com/security-updates/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":10.75}]},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":["<4.0.5",">=4.1.0, <4.1.1",">=4.2.0-rc1, <4.2.0","<4.0.5+incompatible",">=4.1.0+incompatible, <4.1.1+incompatible",">=4.2.0-rc1+incompatible, <4.2.0+incompatible"],"patched":["4.0.5","4.1.1","4.2.0","4.0.5+incompatible","4.1.1+incompatible","4.2.0+incompatible"],"from":["GHSA-887v-xh2x-47cm","GO-2026-4296"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting (XSS) issue in Mattermost Server, affecting versions before 4.2.0, 4.1.1, and 4.0.5, where user display names are not properly sanitised. An attacker who can set a display name can inject script that runs in the browsers of users who view it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:25Z"},"euvd":{"id":"EUVD-2017-9983","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-github-com-mattermost-mattermost-server-cve-2016-11068","parents":[{"from":"CVE-2016-11070","to":"CVE-2017-18893","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["webapp/utils/utils.jsx"],"commits":["https://github.com/mattermost/mattermost/commit/c5deb333db40e4e527f98edb93b41d1b66cfec5f","https://github.com/mattermost/mattermost/commit/2a4d88d07c5815deac103e109550d25338507151","https://github.com/mattermost/mattermost/commit/670bfbf62686ebe9f2ab332733d851a62b6950b0"],"basis":"rarely changed file"}]}]}}