CVE-2023-5968Mattermost
Medium 4.9
Follow: this CVE · Mattermost · Mattermost We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.9
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 50
- Auth required
- Yes
- Published
- Nov 6, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
What happens
Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body.
What to do
- Apply the vendor's security update for Mattermost.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/mattermost/mattermost-server |
< 5.3.2-0.20230825233148-f787fd63368a |
5.3.2-0.20230825233148-f787fd63368a |
go get github.com/mattermost/mattermost-server@v5.3.2-0.20230825233148-f787fd63368a |
| Go | github.com/mattermost/mattermost-server/v5 |
< 5.3.2-0.20230825233148-f787fd63368a |
5.3.2-0.20230825233148-f787fd63368a |
go get github.com/mattermost/mattermost-server/v5@v5.3.2-0.20230825233148-f787fd63368a |
| Go | github.com/mattermost/mattermost-server/v6 |
≥ 5.4.0-rc1 < 7.8.12 |
7.8.12 |
go get github.com/mattermost/mattermost-server/v6@v7.8.12 |
| Go | github.com/mattermost/mattermost-server/v6 |
< 5.3.2-0.20230825233148-f787fd63368a |
5.3.2-0.20230825233148-f787fd63368a |
go get github.com/mattermost/mattermost-server/v6@v5.3.2-0.20230825233148-f787fd63368a |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 8.0.0 < 8.0.4 |
8.0.4 |
go get github.com/mattermost/mattermost/server/v8@v8.0.4 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 8.1.0 < 8.1.3 |
8.1.3 |
go get github.com/mattermost/mattermost/server/v8@v8.1.3 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 9.0.0 < 9.0.1 |
9.0.1 |
go get github.com/mattermost/mattermost/server/v8@v9.0.1 |
| Go | github.com/mattermost/mattermost/server/v8 |
< 8.0.0-20230825233148-f787fd63368a |
8.0.0-20230825233148-f787fd63368a |
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20230825233148-f787fd63368a |
Per OSV / GitHub Advisories (GHSA-r67m-mf7v-qp7j). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost | ≤ 7.8.11 |
| mattermost | mattermost | ≥ 8.0.0 ≤ 8.0.3 |
| mattermost | mattermost | ≥ 8.1.0 ≤ 8.1.2 |
| mattermost | mattermost | 9.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory