Medium
WebSockets accept connections from HTTPS origin
Type: advisorySources: OSV
Mattermost fails to properly validate the origin of a websocket connection allowing a MITM attacker on Mattermost to access the websocket APIs.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-3581
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 15:32 UTC · Revision 1
Source evidence
WebSockets accept connections from HTTPS origin
core-osv · Original sourcePublished 17 Jul 2023, 15:20 UTC
Mattermost fails to properly validate the origin of a websocket connection allowing a MITM attacker on Mattermost to access the websocket APIs.
osv:CVE-2023-3581
Complete source record
{
"id": "97cc44e4b3a6adfeb9ea742b834bb088ff81fc878e7fb5f0f1e810bb014045de",
"url": "https://osv.dev/vulnerability/CVE-2023-3581",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "WebSockets accept connections from HTTPS origin",
"summary": "Mattermost fails to properly validate the origin of a websocket connection allowing a MITM attacker on Mattermost to access the websocket APIs.",
"evidence": "osv:CVE-2023-3581",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2023-3581",
"aliases": [
"BIT-mattermost-2023-3581",
"CVE-2023-3581"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mattermost/mattermost",
"type": "GIT",
"events": [
{
"introduced": "f14c24391ca84740d90a29ec8b67579326eaa236"
},
{
"fixed": "9c1ca9e7239b14ca3a6872bdf2f22e3bc6126985"
},
{
"introduced": "c4d8c1450ab2b9538bbc2690ca1ee865567a5888"
},
{
"fixed": "1b6aa36dd17e8e8aed03f563c687bd69251cffe9"
},
{
"introduced": "5b33575d571469115f29720530ff5b53a6cb7de5"
},
{
"fixed": "cf5279c4598f3d49396d21ab539413173a159cf5"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.8.0"
},
{
"fixed": "7.8.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.9.0"
},
{
"fixed": "7.9.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.10.0"
},
{
"fixed": "7.10.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v7.8.6",
"v7.10.2",
"v7.8.5",
"v7.9.4",
"v7.10.1",
"v7.9.3",
"v7.8.4",
"v7.10.0",
"v7.9.2",
"v7.8.3",
"v7.9.1",
"v7.8.2",
"v7.9.0",
"v7.8.1",
"v7.8.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-3581.json"
}
}
],
"modified": "2026-10-28T02:30:29.933896749Z",
"provider": "osv",
"references": [
"https://mattermost.com/security-updates",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3581.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-3581"
],
"provider_metadata": {
"cwe_ids": [
"CWE-346"
],
"cna_assigner": "Mattermost",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"last_affected": "7.8.6"
},
{
"last_affected": "7.9.4"
},
{
"last_affected": "7.10.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3581.json"
}
},
"related_cves": [
{
"value": "CVE-2023-3581",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496855,
"published_at": "2023-07-17T15:20:00.186+00:00"
}