{"schema_version":"1.7.3","id":"GHSA-59hf-mpf8-pqjh","published":"2024-09-26T09:31:42Z","modified":"2026-02-04T03:40:41.885135Z","aliases":["BIT-mattermost-2024-47003","CVE-2024-47003","GO-2024-3164"],"related":["CGA-vrh4-c4pq-8fp8"],"summary":"Mattermost fails to strip `embeds` from `metadata` when broadcasting `posted` events","details":"Mattermost does not strip `embeds` from `metadata` when broadcasting `posted` events.\n\nThis 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.\n\nThe advisory metadata references the appropriate go pseudo version available from pkg.go.dev","affected":[{"package":{"name":"github.com/mattermost/mattermost/server/v8","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.0.0-20240806094731-69a8b3df0f9f"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-59hf-mpf8-pqjh/GHSA-59hf-mpf8-pqjh.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47003"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/pull/27763"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/69a8b3df0f9fd3a7a5b792ec678b6191618d039b"},{"type":"WEB","url":"https://github.com/c0rydoras/cves/tree/main/CVE-2024-47003"},{"type":"PACKAGE","url":"https://github.com/mattermost/mattermost"},{"type":"WEB","url":"https://mattermost.com/security-updates"}],"database_specific":{"cwe_ids":["CWE-400"],"github_reviewed":true,"github_reviewed_at":"2024-09-27T22:01:15Z","nvd_published_at":"2024-09-26T08:15:06Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}]}