All reports
Medium

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

Affected versions

Version ranges need review.

Affected versions
*
Fixed version
Not reported
Affected versions
*
Fixed version
Not reported
Affected versions
*
Fixed version
Not reported
Affected versions
< 8.0.0-20240806094731-69a8b3df0f9f
Fixed version
8.0.0-20240806094731-69a8b3df0f9f
Affected versions
<8.0.0-20240806094731-69a8b3df0f9f
Fixed version
8.0.0-20240806094731-69a8b3df0f9f

Exploitation

CVE-2024-47003

Probability of exploitation in the next 30 days: 0.58%

FIRST EPSS · 2026-11-20

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

Links

Credits

  • c0rydoras