CVE-2023-1777Mattermost Server
Medium 5.3 No auth needed
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 45
- Auth required
- No
- Published
- Mar 31, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Mattermost Server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/mattermost/mattermost-server |
≥ 7.8.0 < 7.8.1 |
7.8.1 |
go get github.com/mattermost/mattermost-server@v7.8.1 |
| Go | github.com/mattermost/mattermost-server |
≥ 7.7.0 < 7.7.2 |
7.7.2 |
go get github.com/mattermost/mattermost-server@v7.7.2 |
| Go | github.com/mattermost/mattermost-server |
≥ 7.1.0 < 7.1.6 |
7.1.6 |
go get github.com/mattermost/mattermost-server@v7.1.6 |
| Go | github.com/mattermost/mattermost-server |
≥ 1.4.1-0.20211025164829-f7a8147b825c < 1.4.1-0.20230301145909-10be118d99a5 |
1.4.1-0.20230301145909-10be118d99a5 |
go get github.com/mattermost/mattermost-server@v1.4.1-0.20230301145909-10be118d99a5 |
| Go | github.com/mattermost/mattermost-server/v6 |
≥ 6.3.0 < 7.1.6 |
7.1.6 |
go get github.com/mattermost/mattermost-server/v6@v7.1.6 |
| Go | github.com/mattermost/mattermost-server/v6 |
≥ 6.0.0-20211025164829-f7a8147b825c < 6.0.0-20230301145909-10be118d99a5 |
6.0.0-20230301145909-10be118d99a5 |
go get github.com/mattermost/mattermost-server/v6@v6.0.0-20230301145909-10be118d99a5 |
Per OSV / GitHub Advisories (GHSA-3wq5-3f56-v5xc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | < 7.1.6 |
| mattermost | mattermost_server | 7.7.1 |
| mattermost | mattermost_server | 7.8.0 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory