Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.9.x <= 10.9.2 fail to sanitize the team invite ID in the POST /api/v4/teams/:teamId/restore endpoint which allows an team admin with no member invite privileges to get the team’s invite id.
| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| github.com/mattermost/mattermost-server(Go) | 10.8.0 | 10.8.4 | N/A |
| github.com/mattermost/mattermost-server(Go) | 10.5.0 | 10.5.9 | N/A |
| github.com/mattermost/mattermost-server(Go) | 9.11.0 | 9.11.18 | N/A |
| github.com/mattermost/mattermost-server(Go) | 10.9.0 | 10.9.3 | N/A |
| github.com/mattermost/mattermost/server/v8(Go) | 0 | 8.0.0-20250708065844-b38e2eccda18 | N/A |
| github.com/mattermost/mattermost-server/v5(Go) | 0 | N/A | N/A |
| github.com/mattermost/mattermost-server/v6(Go) | 0 | N/A | N/A |
CVSS Metrics