GHSA-59hf-mpf8-pqjhMediumCVSS 5.4

Mattermost fails to strip `embeds` from `metadata` when broadcasting `posted` events

Published
September 26, 2024
Last Modified
September 27, 2024

🔗 CVE IDs covered (1)

📋 Description

Mattermost does not strip embeds from metadata when broadcasting posted events.

This allows users to include arbitrary embeds in posts, which are then broadcasted via websockets. This can be exploited in many ways, for example to create permalinks with fully customizable content or to trigger a client Side Denial of Service (DoS) by sending a permalink with a non-string message.

The advisory metadata references the appropriate go pseudo version available from pkg.go.dev

🎯 Affected products1

  • go/github.com/mattermost/mattermost/server/v8:< 8.0.0-20240806094731-69a8b3df0f9f

🔗 References (6)