PT-2021-21892 · Mattermost · Mattermost

Published

2021-09-22

·

Updated

2024-08-21

·

CVE-2021-37860

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions: Mattermost versions 5.38 and earlier
Description: The issue is related to insufficient sanitization of clipboard contents, allowing a user-assisted attacker to inject arbitrary web script in product deployments where the default Content Security Policy (CSP) is explicitly disabled. This enables the attacker to perform cross-site scripting attacks.
Recommendations: For Mattermost versions 5.38 and earlier, update to a version that includes the fix for this issue to prevent arbitrary web script injection. As a temporary workaround, consider enabling the default CSP to minimize the risk of exploitation. Restrict access to clipboard contents in deployments where the default CSP is disabled to reduce the attack surface.

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-37860
GHSA-HV5F-73MR-7VVJ
GO-2022-0604

Affected Products

Mattermost