Security mailing lists by PureSourceCode

CVE-2021-37860

MEDIUM 6.1CVSS 3.1

Cross-site Scripting in Mattermost

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.

Published
22 Sep 2021
Last modified
17 Jun 2026
Assigned by
responsibledisclosure@mattermost.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-hv5f-73mr-7vvjGO-2022-0604
Sources
NVDJSONOSV GHSA-hv5f-73mr-7vvjJSONOSV GO-2022-0604JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD responsibledisclosure@mattermost.com (Secondary) CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.6 AV:N/AC:H/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mattermost mattermost
cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*
<= 5.38
OSV Go github.com/mattermost/mattermost-server/v5 < 5.39.0 5.39.0
OSV Go github.com/mattermost/mattermost-server all versions

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 22 Sep 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Sep 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.