# CVE-2023-7113: Mattermost Cross-site Scripting vulnerability

- Severity: Low 3.7 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- 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): 0.30%, higher than 23% of CVEs (2026-12-01)
- Published: 2023-12-29T12:46:13.932Z
- Modified: 2026-09-10T03:50:04.380Z
- Also known as: GHSA-h3gq-j7p9-x3p4, BIT-MATTERMOST-2023-7113, GO-2024-2446
- Related: CGA-c2r9-jm5q-wj28
- Weaknesses: CWE-79
- Assigned by: Mattermost

## Description

Mattermost version 8.1.6 and earlier fails to sanitize channel mention data in posts, which allows an attacker to inject markup in the web client.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: up to 8.1.6; up to 9.2.0 (not affected: 8.1.7; 9.2.0)
- github.com/mattermost/mattermost/server/v8 (Go): before 8.1.7; all versions
- github.com/mattermost/mattermost-server (Go): all versions
- github.com/mattermost/mattermost-server/v5 (Go): all versions
- github.com/mattermost/mattermost-server/v6 (Go): all versions
- mattermost mattermost_server: before 8.1.7
- mattermost (Bitnami): before 8.1.7

## Every score

- Mattermost: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- 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`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-7113> (advisory, web)
- <https://github.com/advisories/GHSA-h3gq-j7p9-x3p4> (advisory)
- <https://github.com/mattermost/mattermost> (package)

## Sources

- CVE List: [CVE-2023-7113](https://www.cve.org/CVERecord?id=CVE-2023-7113), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-h3gq-j7p9-x3p4](https://github.com/advisories/GHSA-h3gq-j7p9-x3p4), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2446](https://pkg.go.dev/vuln/GO-2024-2446), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-7113](https://nvd.nist.gov/vuln/detail/CVE-2023-7113), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MATTERMOST-2023-7113](https://osv.dev/vulnerability/BIT-MATTERMOST-2023-7113), Apache-2.0, modified 2025-04-03

---

Page: https://cve.day/CVE-2023-7113 · Whole record: https://cve.day/CVE-2023-7113.json · Rebuilt by cve.day 2026-11-25T22:58:31.755Z
