{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-5968","id":"CVE-2023-5968","title":"Password hash in response body after username update","description":"Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body. \n\n","descriptionLong":"Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body. \n\n","published":"2023-11-06T15:35:14.094Z","updated":"2026-10-28T02:30:37.643548296Z","reserved":"2023-11-06T15:28:44.101Z","status":"Modified","rejected":false,"assigner":"Mattermost","metric":{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"Mattermost"},"metrics":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"Mattermost"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"mattermost.com"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Mattermost"],"affectedProducts":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"7.8.11","status":"affected","version":"0","versionType":"semver"},{"lessThanOrEqual":"8.0.3","status":"affected","version":"0","versionType":"semver"},{"lessThanOrEqual":"8.1.2","status":"affected","version":"0","versionType":"semver"},{"lessThanOrEqual":"9.0.0","status":"affected","version":"0","versionType":"semver"},{"status":"unaffected","version":"7.8.12"},{"status":"unaffected","version":"8.0.4"},{"status":"unaffected","version":"8.1.3"},{"status":"unaffected","version":"9.0.1"}],"platforms":[]}],"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","<5.3.2-0.20230825233148-f787fd63368a"],"fixed":["7.8.12","5.3.2-0.20230825233148-f787fd63368a"],"advisory":"GHSA-r67m-mf7v-qp7j"},{"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",">=8.1.0 <8.1.3",">=9.0.0 <9.0.1","<8.0.0-20230825233148-f787fd63368a"],"fixed":["8.0.4","8.1.3","9.0.1","8.0.0-20230825233148-f787fd63368a"],"advisory":"GHSA-r67m-mf7v-qp7j"},{"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"],"advisory":"GHSA-r67m-mf7v-qp7j"},{"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"],"advisory":"GHSA-r67m-mf7v-qp7j"}],"cwes":["CWE-200","CWE-116"],"aliases":["GHSA-r67m-mf7v-qp7j"],"references":[{"url":"https://mattermost.com/security-updates","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5968.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5968","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost/pull/24362","tags":["web"]},{"url":"https://github.com/mattermost/mattermost/pull/24566","tags":["web"]},{"url":"https://github.com/mattermost/mattermost/commit/698f4a97da564e2c1f2bf1fbd01755cefa3b7881","tags":["web"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00616,"epssPercentile":0.5031,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-5968","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5968","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-5968","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r67m-mf7v-qp7j","ok":true,"note":"GHSA-r67m-mf7v-qp7j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-5968","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["chrome"],"critical":[],"attention":null}