CVE-2021-37860
JSON

3.7low

Cross-site Scripting in Mattermost

Severity
3.7low CVSS:3.1 by Mattermost
Exploit likelihood
0.63% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mattermost
Also known as
GHSA-hv5f-73mr-7vvjGO-2022-0604

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.

Affected

Product or packageVersionsReported by
Mattermost Mattermostfrom unspecified up to 5.38, up to 5.38CVE List, NVD
github.com/mattermost/mattermost-server/v5 (Go)before 5.39.0GitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server (Go)all versionsGo Vulnerability Database

All scores

Mattermost3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD2.6low CVSS:2.0AV:N/AC:H/Au:N/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

Go Vulnerability Database

Cross-site Scripting in Mattermost in github.com/mattermost/mattermost-server

NVD (es)

Mattermost versiones 5.38 y anteriores, no sanean suficientemente el contenido del portapapeles, lo que permite a un atacante con ayuda del usuario inyectar un script web arbitrario en las implementaciones del producto que deshabilitan explícitamente el CSP predeterminado

References

Sources

SourceRecordLicence
CVE ListCVE-2021-37860 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-hv5f-73mr-7vvj changed 2024-08-21CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0604 changed 2026-03-03CC-BY-4.0
NVDCVE-2021-37860 changed 2026-06-17Public domain