ADVISORIES

GitHub Advisory Database

GHSA-jx93-pf6x-874r

Mattermost doesn't escape some variables that could contain malicious content during error page composition

Details

Mattermost versions 11.5.x <= 11.5.1, 10.11.x <= 10.11.13 fail to escape some variables that could contain malicious content during error page composition which allows an attacker with access to edit some site configuration to execute some malicious code via injecting some JS as part of those values.. Mattermost Advisory ID: MMSA-2026-00622

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost/server/v8
From 10.11.0 before 10.11.14 (fixed in 10.11.14)
Gogithub.com/mattermost/mattermost/server/v8
From 11.5.0 before 11.5.2 (fixed in 11.5.2)
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20260310115442-5a1ea95044d (fixed in 8.0.0-20260310115442-5a1ea95044d)
Gogithub.com/mattermost/mattermost-server
All versions before 5.3.2-0.20260310115442-5a1ea95044dc (fixed in 5.3.2-0.20260310115442-5a1ea95044dc)

References