Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost-server/v6
  4. ›
  5. CVE-2023-5968

CVE-2023-5968: Mattermost password hash disclosure vulnerability

November 6, 2023 (updated July 22, 2025)

Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body.

References

  • github.com/advisories/GHSA-r67m-mf7v-qp7j
  • github.com/mattermost/mattermost
  • github.com/mattermost/mattermost/commit/698f4a97da564e2c1f2bf1fbd01755cefa3b7881
  • github.com/mattermost/mattermost/pull/24362
  • github.com/mattermost/mattermost/pull/24566
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2023-5968

Code Behaviors & Features

Detect and mitigate CVE-2023-5968 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.4.0-rc1 before 7.8.12

Fixed versions

  • 7.8.12

Solution

Upgrade to version 7.8.12 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

go/github.com/mattermost/mattermost-server/v6/CVE-2023-5968.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 23 Aug 2025 00:18:58 +0000.