CVE-2023-5968
MEDIUM 4.9CVSS 3.1Mattermost password hash disclosure vulnerability
Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body.
- Published
- 6 Nov 2023
- Last modified
- 17 Jun 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Modified
- Weakness
- CWE-116CWE-200
- Also known as
- GHSA-r67m-mf7v-qp7j
- Sources
- NVDJSONOSV GHSA-r67m-mf7v-qp7jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermostcpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:* |
<= 7.8.11 | |
| NVD | mattermost | mattermostcpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:* |
>= 8.0.0, <= 8.0.3 | |
| NVD | mattermost | mattermostcpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:* |
>= 8.1.0, <= 8.1.2 | |
| NVD | mattermost | mattermostcpe:2.3:a:mattermost:mattermost:9.0.0:*:*:*:*:*:*:* |
= 9.0.0 | |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | >= 5.4.0-rc1, < 7.8.12 | 7.8.12 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 8.0.0, < 8.0.4 | 8.0.4 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 8.1.0, < 8.1.3 | 8.1.3 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 9.0.0, < 9.0.1 | 9.0.1 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20230825233148-f787fd63368a | 8.0.0-20230825233148-f787fd63368a |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | < 5.3.2-0.20230825233148-f787fd63368a | 5.3.2-0.20230825233148-f787fd63368a |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | < 5.3.2-0.20230825233148-f787fd63368a | 5.3.2-0.20230825233148-f787fd63368a |
| OSV | Go | github.com/mattermost/mattermost-server | < 5.3.2-0.20230825233148-f787fd63368a | 5.3.2-0.20230825233148-f787fd63368a |
References
- https://mattermost.com/security-updates · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-5968 · ADVISORY
- https://github.com/mattermost/mattermost/pull/24362 · WEB
- https://github.com/mattermost/mattermost/pull/24566 · WEB
- https://github.com/mattermost/mattermost/commit/698f4a97da564e2c1f2bf1fbd01755cefa3b7881 · WEB
- https://github.com/mattermost/mattermost · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 6 Nov 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Nov 2023)