Medium severity · published Nov 6, 2023
CVE-2023-5968
Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body
4.9
CVSS
0.5%
EPSS
No
On KEV
Description
Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body. 
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 43% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
Mattermost · Mattermost
through 7.8.11; 8.0.0 through 8.0.3; 8.1.0 through 8.1.2; 9.0.0 · source: NVD
Affected product
MA
Mattermost
Mattermost
More from Mattermost
9.9
CVE-2026-4858
Path traversal in integration action URL leading to arbitrary API execution via system admin’s auth token.
9.9
CVE-2025-12421
Account Takeover via Code Exchange Endpoint
9.9
CVE-2025-12419
Account takeover on OAuth/OpenID-enabled servers
9.9
CVE-2025-4981
Path Traversal Leading to RCE by Any Authenticated Mattermost User
9.6
CVE-2024-39777
Malicious remote can invite itself to an arbitrary local channel