{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-37860","published":"2021-09-22T17:15:11.647000Z","last_modified":"2026-06-17T04:01:12.733000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*","part":"a","vendor":"mattermost","product":"mattermost","version_end_including":"5.38"}],"cpes_truncated":false,"vendors":["mattermost"],"products":["mattermost/mattermost"],"epss":{"score":0.00631,"percentile":0.44777,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2022-0604","ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-hv5f-73mr-7vvj","ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":[{"introduced":"0","fixed":"5.39.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2022-0604","ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":[{"introduced":"0","fixed":"5.39.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-37860/","html_en":"/en/cve/CVE-2021-37860/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-37860","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-37860"},"untrusted":{"vendor_name":"Mattermost","product_name":"Mattermost","desc_en":"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":[{"untrusted_vendor":"Mattermost","untrusted_product":"Mattermost","versions":[]}],"references":[{"url":"https://mattermost.com/security-updates/","tags":["Vendor Advisory"]}]}}