{"id":"CVE-2021-37860","published":"2021-09-22T16:40:43Z","modified":"2024-08-04T01:30:09Z","title":"Mattermost 5.38 and earlier fails to sufficiently sanitize clipboard contents, which allows a user-assisted attacker…","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00631,"percentile":0.44718,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://mattermost.com/security-updates/","tags":["x_refsource_MISC"]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":8.94},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= unspecified, <= 5.38"]}],"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["<5.39.0"],"patched":["5.39.0"],"from":["GHSA-hv5f-73mr-7vvj","GO-2022-0604"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2022-0604"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting weakness in Mattermost (versions 5.38 and earlier) caused by insufficient sanitization of clipboard contents. An attacker can inject arbitrary web script, but only in deployments that have explicitly disabled the default Content Security Policy, and exploitation requires a user to be tricked into taking an action such as pasting the malicious content.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:39Z"},"euvd":{"id":"EUVD-2021-2078","exploited":false,"provenance":"source"}}