title: Stored XSS via SVG attachment on Boards
description: Boards in Mattermost allows an attacker to upload a malicious SVG image file as an attachment to a card and share it using a direct link to the file.
problem types: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
affected:
{
defaultStatus: unaffected
product: Mattermost
vendor: Mattermost
versions:
lessThanOrEqual: 7.7.1, status: affected, version: 3.3.0, versionType: semver
lessThanOrEqual: 7.1.5, status: affected, version: 3.3.0, versionType: semver
lessThan: 7.8.0, status: affected, version: 3.3.0, versionType: semver
status: unaffected, version: 7.8.0
status: unaffected, version: 7.7.2
status: unaffected, version: 7.1.6
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 7.3
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL
solutions: Update Mattermost to version v7.8.0, v7.1.6, v7.7.2, or higher.