{"id":"CVE-2023-5968","published":"2023-11-06T15:35:14Z","modified":"2024-09-12T19:26:46Z","title":"Password hash in response body after username update","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body. \n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0051,"percentile":0.43522,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":8.7},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.43}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-07-04","earliestUrl":"https://github.com/Curtail-Inc/hello-ReGrade-security","repos":[{"name":"Curtail-Inc/hello-ReGrade-security","url":"https://github.com/Curtail-Inc/hello-ReGrade-security","stars":0,"created":"2026-07-04"}]},"first":{"date":"2026-07-04","source":"PoC-in-GitHub","url":"https://github.com/Curtail-Inc/hello-ReGrade-security"},"provenance":"source"},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["<= 7.8.11","<= 8.0.3","<= 8.1.2","<= 9.0.0"]}],"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":[">=5.4.0-rc1, <7.8.12","<5.3.2-0.20230825233148-f787fd63368a"],"patched":["7.8.12","5.3.2-0.20230825233148-f787fd63368a"],"from":["GHSA-r67m-mf7v-qp7j"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":[">=8.0.0, <8.0.4",">=8.1.0, <8.1.3",">=9.0.0, <9.0.1","<8.0.0-20230825233148-f787fd63368a"],"patched":["8.0.4","8.1.3","9.0.1","8.0.0-20230825233148-f787fd63368a"],"from":["GHSA-r67m-mf7v-qp7j"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["<5.3.2-0.20230825233148-f787fd63368a"],"patched":["5.3.2-0.20230825233148-f787fd63368a"],"from":["GHSA-r67m-mf7v-qp7j"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":["<5.3.2-0.20230825233148-f787fd63368a"],"patched":["5.3.2-0.20230825233148-f787fd63368a"],"from":["GHSA-r67m-mf7v-qp7j"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-3022","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-28053","published":"2024-03-15","fixed":"0.0.0-20240209181221-674f549daf0e","kev":false},{"cve":"CVE-2018-21258","published":"2020-06-19","fixed":"5.1.0","kev":false},{"cve":"CVE-2023-5968","published":"2023-11-06","fixed":"5.3.2-0.20230825233148-f787fd63368a","kev":false},{"cve":"CVE-2024-39837","published":"2024-08-01","fixed":"5.3.2-0.20240626164322-c758cecaf30c","kev":false,"link":{"from":"CVE-2023-5968","to":"CVE-2024-39837","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server/v5","fromFixed":"5.3.2-0.20230825233148-f787fd63368a","toFixed":"5.3.2-0.20240626164322-c758cecaf30c","daysApart":269}]}},{"cve":"CVE-2025-11776","published":"2025-11-14","fixed":"5.3.2-0.20250815165020-c8d66301415d","kev":false},{"cve":"CVE-2025-11777","published":"2025-11-13","fixed":"5.3.2-0.20250905150616-ba86dfc5876b","kev":false}],"package":"Go:github.com/mattermost/mattermost-server/v5"}}