{"id":"CVE-2023-5968","aliases":["GHSA-r67m-mf7v-qp7j"],"url":"https://o3.security/vulnerability/CVE-2023-5968","summary":"Password hash in response body after username update","details":"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","published":"2023-11-06T15:35:14.094Z","modified":"2026-09-18T03:45:17.390908346Z","cvss":{"score":4.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","fixedVersion":"7.8.12"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","fixedVersion":"8.0.4"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","fixedVersion":"8.1.3"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","fixedVersion":"9.0.1"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","fixedVersion":"8.0.0-20230825233148-f787fd63368a"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","fixedVersion":"5.3.2-0.20230825233148-f787fd63368a"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","fixedVersion":"5.3.2-0.20230825233148-f787fd63368a"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","fixedVersion":"5.3.2-0.20230825233148-f787fd63368a"}],"fix":null,"references":[{"type":"WEB","url":"https://mattermost.com/security-updates"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5968.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5968"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-18T03:45:17.390908346Z"}}