{"id":"GHSA-hv5f-73mr-7vvj","summary":"Cross-site Scripting in Mattermost","details":"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.","aliases":["CVE-2021-37860","GO-2022-0604"],"modified":"2024-08-21T15:41:39.956479Z","published":"2021-09-23T23:11:06Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-09-23T16:23:33Z","nvd_published_at":"2021-09-22T17:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37860"},{"type":"WEB","url":"https://docs.mattermost.com/install/self-managed-changelog.html#release-v5-39-quality-release"},{"type":"WEB","url":"https://github.com/mattermost/mattermost-server"},{"type":"WEB","url":"https://mattermost.com/security-updates"}],"affected":[{"package":{"name":"github.com/mattermost/mattermost-server/v5","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.39.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-hv5f-73mr-7vvj/GHSA-hv5f-73mr-7vvj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}