CVE-2021-37860: XSS

Published Sep 22, 2021
·
Updated

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.

Affected Software

1 affected component
Mattermost Mattermost<=5.38

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Do not disable Mattermost's default CSP in product deployments; ensure CSP is enabled to prevent injected web scripts via unsanitized clipboard contents.

    Mattermost Content-Security-Policy (CSP) = Enabled (do not disable default CSP)

Event History

Sep 22, 2021
CVE Published
via MITRE·04:40 PM
Data Sourced
via MITRE·04:40 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for Mattermost?

The vulnerability ID for Mattermost is CVE-2021-37860.

2

What is the severity of CVE-2021-37860?

The severity of CVE-2021-37860 is medium.

3

How does CVE-2021-37860 affect Mattermost?

CVE-2021-37860 affects Mattermost version 5.38 and earlier by allowing a user-assisted attacker to inject arbitrary web script in product deployments that explicitly disable the default CSP.

4

How can I fix CVE-2021-37860 in my Mattermost deployment?

To fix CVE-2021-37860 in your Mattermost deployment, make sure to upgrade to a version newer than 5.38 that includes the necessary fixes and improvements.

5

Where can I find more information about CVE-2021-37860?

You can find more information about CVE-2021-37860 on the Mattermost website at https://mattermost.com/security-updates/.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203