CVE-2025-47870
MEDIUM4.3EPSS 0.06%Mattermost Does Not Sanitize the Team Invite ID
Published: 8/21/2025Modified: 8/29/2025
Description
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.
Affected packages (8)
- Go/github.com/mattermost/mattermost-server>= 10.8.0, < 10.8.4
- Go/github.com/mattermost/mattermost-server>= 9.11.0+incompatible, < 9.11.18+incompatible, >= 10.5.0+incompatible, < 10.5.9+incompatible, >= 10.8.0+incompatible, < 10.8.4+incompatible, >= 10.9.0+incompatible, < 10.9.3+incompatible
- Go/github.com/mattermost/mattermost-server/v5from 0
- Go/github.com/mattermost/mattermost-server/v5from 0, <= 5.39.3
- Go/github.com/mattermost/mattermost-server/v6from 0, <= 6.7.2
- Go/github.com/mattermost/mattermost-server/v6from 0
- Go/github.com/mattermost/mattermost/server/v8from 0, < 8.0.0-20250708065844-b38e2eccda18
- Go/github.com/mattermost/mattermost/server/v8from 0, < 8.0.0-20250708065844-b38e2eccda18
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |