# CVE-2021-37859: Reflected XSS in OAuth Flow

- Severity: High 7.1 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.29%, higher than 88% of CVEs (2026-12-01)
- Published: 2021-08-05T19:40:10.000Z
- Modified: 2026-06-17T04:01:12.623Z
- Weaknesses: CWE-79
- Assigned by: Mattermost

## Description

Fixed a bypass for a reflected cross-site scripting vulnerability affecting OAuth-enabled instances of Mattermost.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 5.32.0 up to 5.36.0; from 5.32.0 before 5.34.5; from 5.35.0 before 5.35.4; from 5.36.0 before 5.36.1 (not affected: 5.34.5; 5.35.4)

## Every score

- Mattermost: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://mattermost.com/security-updates/> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-37859](https://www.cve.org/CVERecord?id=CVE-2021-37859), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-37859](https://nvd.nist.gov/vuln/detail/CVE-2021-37859), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-37859 · Whole record: https://cve.day/CVE-2021-37859.json · Rebuilt by cve.day 2026-11-25T22:58:03.019Z
