MEDIUM6.1
GO-2025-4190
Mattermost Server is vulnerable to XSS attacks against an OAuth 2.0 allow/deny page in github.com/mattermost/mattermost-server
Quick fix
GO-2025-4190 — github.com/mattermost/mattermost-server: upgrade to the fixed version with the command below.
go get github.com/mattermost/mattermost-server@v4.1.2+incompatibleDetails
Mattermost Server is vulnerable to XSS attacks against an OAuth 2.0 allow/deny page in github.com/mattermost/mattermost-server
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/mattermost/mattermost-server
Introduced in:
0Fixed in: 4.1.2+incompatibleFix
go get github.com/mattermost/mattermost-server@v4.1.2+incompatible