{"cve":"CVE-2023-5968","nvd":{"published":"2023-11-06T16:15:42.897","modified":"2026-06-17T06:49:45.930","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9},"cwes":["CWE-116","CWE-200"],"references":["https://mattermost.com/security-updates","https://mattermost.com/security-updates"],"products":["mattermost:mattermost"],"source":"nvd","synced_at":"2026-10-19T21:40:11.519948003+00:00"},"epss":{"cve":"CVE-2023-5968","score":0.0051,"percentile":0.43559,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-r67m-mf7v-qp7j","url":"https://osv.dev/vulnerability/GHSA-r67m-mf7v-qp7j","summary":"Mattermost password hash disclosure vulnerability","modified":"2025-07-22T17:17:20Z","packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":[">=5.4.0-rc1 <7.8.12"],"fixed":["7.8.12"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=8.0.0 <8.0.4"],"fixed":["8.0.4"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=8.1.0 <8.1.3"],"fixed":["8.1.3"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=9.0.0 <9.0.1"],"fixed":["9.0.1"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":["<8.0.0-20230825233148-f787fd63368a"],"fixed":["8.0.0-20230825233148-f787fd63368a"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":["<5.3.2-0.20230825233148-f787fd63368a"],"fixed":["5.3.2-0.20230825233148-f787fd63368a"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["<5.3.2-0.20230825233148-f787fd63368a"],"fixed":["5.3.2-0.20230825233148-f787fd63368a"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":["<5.3.2-0.20230825233148-f787fd63368a"],"fixed":["5.3.2-0.20230825233148-f787fd63368a"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}