Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost-server/v5
  4. ›
  5. CVE-2021-37860

CVE-2021-37860: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

September 23, 2021 (updated October 6, 2021)

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.

References

  • github.com/advisories/GHSA-hv5f-73mr-7vvj
  • nvd.nist.gov/vuln/detail/CVE-2021-37860

Code Behaviors & Features

Detect and mitigate CVE-2021-37860 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.39

Fixed versions

  • 5.39

Solution

Upgrade to version 5.39 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/mattermost/mattermost-server/v5/CVE-2021-37860.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:10 +0000.