{"id":"CVE-2023-3581","aliases":["BIT-mattermost-2023-3581","EUVD-2023-44231","GHSA-5g2h-c436-5ppg"],"status":"published","title":"WebSockets accept connections from HTTPS origin","description":"Mattermost fails to properly validate the origin of a websocket connection allowing a MITM attacker on Mattermost to access the websocket APIs.","severity":{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00262,"percentile":0.18079,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-346"],"published":"2023-07-17T15:20:00Z","modified":"2026-10-28T02:30:29Z","fixes":[{"ecosystem":"Bitnami","package":"mattermost","fixed_in":["7.8.7","7.9.5","7.10.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"mattermost","ranges":[{"type":"SEMVER","events":[{"introduced":"7.8.0"},{"fixed":"7.8.7"},{"introduced":"7.9.0"},{"fixed":"7.9.5"},{"introduced":"7.10.0"},{"fixed":"7.10.3"}]}]}],"products":[{"vendor":"mattermost","product":"mattermost"},{"vendor":"mattermost","product":"mattermost_server"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3581","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-5g2h-c436-5ppg"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3581.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2023-3581","title":"WebSockets accept connections from HTTPS origin","description":"Mattermost fails to properly validate the origin of a websocket connection allowing a MITM attacker on Mattermost to access the websocket APIs.\n\n","status":"published","published":"2023-07-17T15:20:00.186Z","modified":"2024-10-30T13:54:50.335Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-346"],"updated_at":"2026-11-02T14:35:24.707957Z"}],"euvd":[{"id":"EUVD-2023-44231","description":"Mattermost fails to properly validate the origin of a websocket connection allowing a MITM attacker on Mattermost to access the websocket APIs.\n\n","status":"published","published":"2023-07-17T15:20:00Z","modified":"2024-10-30T13:54:50Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-03T00:05:14.718275Z"}],"ghsa":[{"id":"GHSA-5g2h-c436-5ppg","title":"Mattermost fails to properly validate the origin of a websocket connection allowing a MITM...","description":"Mattermost fails to properly validate the origin of a websocket connection allowing a MITM attacker on Mattermost to access the websocket APIs.\n\n","status":"published","published":"2023-07-17T18:31:28Z","modified":"2024-04-04T06:10:46Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"cwes":["CWE-346"],"updated_at":"2026-11-02T14:56:39.852376Z"}],"nvd":[{"id":"CVE-2023-3581","description":"Mattermost fails to properly validate the origin of a websocket connection allowing a MITM attacker on Mattermost to access the websocket APIs.\n\n","status":"published","published":"2023-07-17T16:15:10.41Z","modified":"2026-06-17T06:14:24.027Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-346"],"updated_at":"2026-11-02T14:08:17.044696Z"}],"osv":[{"id":"CVE-2023-3581","title":"WebSockets accept connections from HTTPS origin","description":"Mattermost fails to properly validate the origin of a websocket connection allowing a MITM attacker on Mattermost to access the websocket APIs.\n\n","status":"published","published":"2023-07-17T15:20:00.186Z","modified":"2026-10-28T02:30:29.933896749Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"cwes":["CWE-346"],"updated_at":"2026-11-02T15:44:32.510144Z"},{"id":"BIT-mattermost-2023-3581","description":"Mattermost fails to properly validate the origin of a websocket connection allowing a MITM attacker on Mattermost to access the websocket APIs.","status":"published","published":"2024-03-06T11:01:02.585Z","modified":"2025-04-03T14:40:37.652Z","updated_at":"2026-11-02T15:28:33.072289Z"}]}}
