Medium severity · published Sep 22, 2021
CVE-2021-37860
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…
6.1
CVSS
0.6%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
Mattermost · Mattermost
through 5.38 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-37860
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-37860
Vendor Advisory
https://mattermost.com/security-updates/
More from Mattermost
9.9
CVE-2026-4858
Path traversal in integration action URL leading to arbitrary API execution via system admin’s auth token.
9.9
CVE-2025-12421
Account Takeover via Code Exchange Endpoint
9.9
CVE-2025-12419
Account takeover on OAuth/OpenID-enabled servers
9.9
CVE-2025-4981
Path Traversal Leading to RCE by Any Authenticated Mattermost User
9.6
CVE-2024-39777
Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to disallow unsolicited invites to expose access to local channels, when shared channels…
