MEDIUM6.1
GO-2025-4045
Mattermost Server vulnerable to Cross-site Scripting through file preview feature in github.com/mattermost/mattermost-server
Quick fix
GO-2025-4045 — github.com/mattermost/mattermost-server: upgrade to the fixed version with the command below.
go get github.com/mattermost/mattermost-server@v3.5.1+incompatibleDetails
Mattermost Server vulnerable to Cross-site Scripting through file preview feature 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: 3.5.1+incompatibleFix
go get github.com/mattermost/mattermost-server@v3.5.1+incompatible