MEDIUM 4.3 Go

Mattermost Does Not Sanitize the Team Invite ID

GHSA-qj47-w9f2-qg44 · CVE-2025-47870 · GO-2025-3905

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes