CVE-2023-5968
Mattermost vulnerability analysis and mitigation

Overview

Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body. This vulnerability was assigned CVE-2023-5968 and affects multiple versions of Mattermost including versions up to 7.8.11, versions 8.0.0 to 8.0.3, versions 8.1.0 to 8.1.2, and version 9.0.0 (NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 4.9 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N. The weakness has been categorized under CWE-116 (Improper Encoding or Escaping of Output) and CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) (NVD).

Impact

The vulnerability exposes sensitive information in the form of password hashes to unauthorized actors when updating usernames. This exposure of cryptographic material could potentially be used in offline password cracking attempts (NVD).

Mitigation and workarounds

Users should upgrade to the latest version of Mattermost that contains the fix for this vulnerability. The issue has been addressed in subsequent releases after the affected versions (NVD).

Additional resources


SourceThis report was generated using AI

Related Mattermost vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-4981CRITICAL9.9
  • MattermostMattermost
  • cpe:2.3:a:mattermost:mattermost
NoYesJun 20, 2025
CVE-2024-8071HIGH7.2
  • MattermostMattermost
  • github.com/mattermost/mattermost/server/v8
NoYesAug 22, 2024
CVE-2024-42411MEDIUM5.3
  • MattermostMattermost
  • mattermost
NoYesAug 22, 2024
CVE-2024-43813MEDIUM4.3
  • MattermostMattermost
  • mattermost
NoYesAug 22, 2024
CVE-2024-10214LOW3.5
  • MattermostMattermost
  • github.com/mattermost/mattermost/server/v8
NoYesOct 28, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management