CVE-2021-37860: mattermost Cross-site Scripting
CVSS: 6.1v3.1MediumModified
AliasesGHSA-hv5f-73mr-7vvjGO-2022-0604
Published 22-09-2021Last modified 04-08-2024
Vulnerability summary
CVE-2021-37860 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in mattermost. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 49.3% of scored vulnerabilities.
CVSS score
6.1/10
010
Medium · v3.1 (NVD)EPSS score
0.63%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 22-09-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
Mattermost 5.38 and earlier fails to sufficiently sanitize clipboard contents, which allows a user-assisted attacker to inject arbitrary web script in product deployments that explicitly disable the default CSP.
CVSS metrics
4 scores · 3 sources · 2 versionsMedium 6.1Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NSources3 sources · 3.7–6.1
- CVE.orgCNA3.7LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:NDiffers
- OSV · GoEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Low 2.6Preferred score · NVD (NIST)
AV:N/AC:H/Au:N/C:N/I:P/A:NSourcesSingle source
EPSS trend
Probability
0.63%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
0.00 pp
From 0.63% on 20-09-2026
20-09-202620-10-2026
EPSS score0.63%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Github.com/mattermost1 product
- mattermost-serverAll versions (No fix recorded)
Github.com/mattermost/mattermost-server1 product
- v5< 5.39.0
Mattermost1 product
- mattermost≥ unspecified, ≤ 5.38 | ≤ 5.38
3 vendors · 3 products