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.
problem types: CWE-346 Origin Validation Error
affected:
{
defaultStatus: unaffected
product: Mattermost
vendor: Mattermost
versions:
lessThanOrEqual: 7.8.6, status: affected, version: 0, versionType: semver
lessThanOrEqual: 7.9.4, status: affected, version: 0, versionType: semver
lessThanOrEqual: 7.10.2, status: affected, version: 0, versionType: semver
status: unaffected, version:  7.8.7
status: unaffected, version: 7.9.5
status: unaffected, version:  7.10.3
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: PHYSICAL
availabilityImpact: HIGH
baseScore: 6.2
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: HIGH
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
version: 3.1
]
format: CVSS
scenarios: GENERAL
solutions: Update Mattermost Server to versions v7.8.7, v7.9.5, v7.10.3 or higher.