{"id":"GHSA-3wq5-3f56-v5xc","summary":"Mattermost vulnerable to information disclosure","details":"Mattermost allows an attacker to request a preview of an existing message when creating a new message via the createPost API call, disclosing the contents of the linked message.","aliases":["BIT-mattermost-2023-1777","CVE-2023-1777"],"modified":"2025-07-25T15:16:21Z","published":"2023-03-31T12:30:16Z","database_specific":{"nvd_published_at":"2023-03-31T12:15:00Z","cwe_ids":["CWE-668"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-04-07T21:02:25Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-1777"},{"type":"WEB","url":"https://mattermost.com/security-updates"},{"type":"PACKAGE","url":"github.com/mattermost/mattermost-server"}],"affected":[{"package":{"name":"github.com/mattermost/mattermost-server/v6","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6"},"ranges":[{"type":"SEMVER","events":[{"introduced":"6.3.0"},{"fixed":"7.1.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-3wq5-3f56-v5xc/GHSA-3wq5-3f56-v5xc.json","last_known_affected_version_range":"\u003c= 6.7.2"}},{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.8.0"},{"fixed":"7.8.1"}]}],"versions":["7.8.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-3wq5-3f56-v5xc/GHSA-3wq5-3f56-v5xc.json"}},{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.7.0"},{"fixed":"7.7.2"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 7.7.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-3wq5-3f56-v5xc/GHSA-3wq5-3f56-v5xc.json"}},{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.1.0"},{"fixed":"7.1.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-3wq5-3f56-v5xc/GHSA-3wq5-3f56-v5xc.json","last_known_affected_version_range":"\u003c= 7.1.5"}},{"package":{"name":"github.com/mattermost/mattermost-server/v6","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6"},"ranges":[{"type":"SEMVER","events":[{"introduced":"6.0.0-20211025164829-f7a8147b825c"},{"fixed":"6.0.0-20230301145909-10be118d99a5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-3wq5-3f56-v5xc/GHSA-3wq5-3f56-v5xc.json"}},{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.1-0.20211025164829-f7a8147b825c"},{"fixed":"1.4.1-0.20230301145909-10be118d99a5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-3wq5-3f56-v5xc/GHSA-3wq5-3f56-v5xc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}