MediumGHSA-63f2-6959-2pxjBIT-mattermost-2023-1776CVE-2023-1776

Mattermost vulnerable to cross-site scripting (XSS)

Published 31 Mar 2023 · Updated 6 Dec 2023

Is your project on an affected github.com/mattermost/mattermost-server/v6?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=6.0.0 <7.1.6
Fixed in
7.1.6
Update to the fixed version for your release line, for example:go get github.com/mattermost/mattermost-server/v6@v7.1.6
Affected
>=7.7.0 <7.7.2
Fixed in
7.7.2
Update to the fixed version for your release line, for example:go get github.com/mattermost/mattermost-server@v7.7.2
Affected
>=7.1.0 <7.1.6
Fixed in
7.1.6
Update to the fixed version for your release line, for example:go get github.com/mattermost/mattermost-server@v7.1.6
Affected
>=7.8.0 <7.8.1
Fixed in
7.8.1
Update to the fixed version for your release line, for example:go get github.com/mattermost/mattermost-server@v7.8.1
Affected
>=5.0.0 <7.1.6
Fixed in
7.1.6
Update to the fixed version for your release line, for example:go get github.com/mattermost/mattermost-server/v5@v7.1.6
Affected
>=3.3.0 <7.1.6
Fixed in
7.1.6
Update to the fixed version for your release line, for example:go get github.com/mattermost/mattermost-server/v6@v7.1.6

Details

Boards in Mattermost allows an attacker to upload a malicious SVG image file as an attachment to a card and share it using a direct link to the file.

Issue Identifier: MMSA-2023-00139

Is GHSA-63f2-6959-2pxj in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/mattermost/mattermost-server/v6, and gives you the command that fixes it.

More advisories for github.com/mattermost/mattermost-server/v6

  • LowCVE-2026-8823Mattermost has an Incorrect Authorization issue in github.com/mattermost/mattermost-server · 1 Oct 2026
  • LowCVE-2026-6046Mattermost doesn't validate that a username returned during bot registration belongs to a bot account in github.com/mattermost/mattermost-server · 25 Aug 2026
  • LowCVE-2026-7387Mattermost doesn't require role-management authorization when setting the scheme_admin flag on group syncable link and patch endpoints in github.com/mattermost/mattermost-server · 25 Aug 2026
  • LowCVE-2026-6961Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file sync in github.com/mattermost/mattermost-server · 25 Aug 2026
  • LowCVE-2026-7184Mattermost doesn't sanitize the Remote Cluster API response on PATCH operations in github.com/mattermost/mattermost-server · 25 Aug 2026
  • LowCVE-2026-6689Mattermost doesn't enforce PermissionInviteUser when setting AllowOpenInvite or AllowedDomains during team creation in github.com/mattermost/mattermost-server · 25 Aug 2026
All 239 advisories for github.com/mattermost/mattermost-server/v6

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.