{"id":"CVE-2024-1942","details":"Mattermost versions 8.1.x before 8.1.9, 9.2.x before 9.2.5, and 9.3.0 fail to sanitize the metadata on posts containing permalinks under specific conditions, which allows an authenticated attacker to access the contents of individual posts in channels they are not a member of.\n\n","aliases":["BIT-mattermost-2024-1942","GHSA-hwjf-4667-gqwx","GO-2024-2592"],"modified":"2026-09-18T03:45:18.898274747Z","published":"2024-02-29T10:41:38.292Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"9.2.0"},{"last_affected":"9.2.4"},{"introduced":"8.1.0"},{"last_affected":"8.1.8"},{"introduced":"9.3.0"},{"last_affected":"9.3.0"}],"source":"AFFECTED_FIELD"},{"extracted_events":[{"introduced":"8.1.x"},{"fixed":"8.1.9"},{"introduced":"9.2.x"},{"fixed":"9.2.5"}],"source":"DESCRIPTION"}],"cna_assigner":"Mattermost","cwe_ids":["CWE-284"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1942.json"},"references":[{"type":"WEB","url":"https://mattermost.com/security-updates"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1942.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1942"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mattermost/mattermost","events":[{"introduced":"096c9ea12a2144f832e330e9a0f4d3862ca20b9f"},{"fixed":"4c83724516242843802cc75840b08ead6afbd37b"},{"introduced":"b47be1c0f5787562ddf430dd5c5b8b3c35748b06"},{"fixed":"cf3252f5bf7a8ecd29403c873b05c70c3b20e920"},{"introduced":"664e8ae3fcec2bd395459b51fbb8d1fbdcad8976"},{"last_affected":"664e8ae3fcec2bd395459b51fbb8d1fbdcad8976"}],"database_specific":{"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","cpe:2.3:a:mattermost:mattermost_server:9.3.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"8.1.0"},{"fixed":"8.1.9"},{"introduced":"9.2.0"},{"fixed":"9.2.5"},{"introduced":"9.3.0"},{"last_affected":"9.3.0"}]}}],"versions":["9.3.0","v9.2.5-rc2","v8.1.9-rc2","v8.1.9-rc1","v9.2.5-rc1","v9.3.1-rc1","@mattermost/types@9.3.0","@mattermost/client@9.3.0","v8.1.8","v9.2.4","v8.1.8-rc2","v9.2.4-rc1","v8.1.8-rc1","v8.1.7-rc3","v8.1.7","v8.1.7-rc2","v9.2.3-rc1","v9.2.3","v8.1.7-rc1","v8.1.6-rc1","v8.1.6","v9.2.2","v8.1.5-rc2","v8.1.5","v8.1.5-rc1","v9.2.1","v9.2.0-rc2","v9.2.0","@mattermost/types@9.2.0","@mattermost/client@9.2.0","v8.1.4-rc2","v8.1.4","v8.1.4-rc1","v8.1.3-rc2","v8.1.3","v8.1.3-rc1","v8.1.2-rc2","v8.1.2","v8.1.2-rc1","v8.1.1-rc2","v8.1.1","@mattermost/types@8.1.1","@mattermost/client@8.1.1","v8.1.1-rc1","v8.1.0-rc2","v8.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-1942.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}