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.
{ "github_reviewed_at": "2025-08-21T16:02:26Z", "severity": "MODERATE", "cwe_ids": [ "CWE-306" ], "nvd_published_at": "2025-08-21T08:15:30Z", "github_reviewed": true }