ADVISORIES

GitHub Advisory Database

GHSA-ff85-qw3h-g9vp

Mattermost allows an attacker to edit arbitrary posts via a crafted MSTeams plugin OAuth redirect URL

Details

Mattermost versions 10.11.x <= 10.11.3, 10.5.x <= 10.5.11, 10.12.x <= 10.12.0 fail to validate the relationship between the post being updated and the MSTeams plugin OAuth flow which allows an attacker to edit arbitrary posts via a crafted MSTeams plugin OAuth redirect URL.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-server
From 10.11.0 before 10.11.4 (fixed in 10.11.4)
Gogithub.com/mattermost/mattermost-server
From 10.5.0 before 10.5.12 (fixed in 10.5.12)
Gogithub.com/mattermost/mattermost-server
From 10.12.0 before 10.12.1 (fixed in 10.12.1)
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20250929212932-a41db04d2746 (fixed in 8.0.0-20250929212932-a41db04d2746)

References