Mattermost fails to sanitize post metadataGHSA-9rww-66w7-7vjx
MEDIUMGHSA-9rww-66w7-7vjx is a medium-severity (CVSS 4.5) CWE-532 vulnerability in github.com/mattermost/mattermost-server/v6. A fix is available for github.com/mattermost/mattermost-server/v6 — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-9rww-66w7-7vjx.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/mattermost/mattermost-server/v6🐹github.com/mattermost/mattermost-server/v6🐹github.com/mattermost/mattermost-server/v6Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Mattermost fails to sanitize post metadata during audit logging, resulting in permalinks' contents being logged.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/mattermost/mattermost-server/v6 | all versions | 7.8.8go get github.com/mattermost/mattermost-server/v6@v7.8.8 |
| 🐹Go | github.com/mattermost/mattermost-server/v6 | ≥ 7.9.0&&< 7.9.6 | 7.9.6go get github.com/mattermost/mattermost-server/v6@v7.9.6 |
| 🐹Go | github.com/mattermost/mattermost-server/v6 | ≥ 7.10.0&&< 7.10.4 | 7.10.4go get github.com/mattermost/mattermost-server/v6@v7.10.4 |
Affected Products
mattermostmattermostDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/mattermost/mattermost-server/v6, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/mattermost/mattermost-server/v6 to 7.8.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-9rww-66w7-7vjx is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-9rww-66w7-7vjx in your dependencies?
Find it across Go, including transitive dependencies.