# CVE-2023-37259: Cross site scripting in Export Chat feature

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-07-18 · Modified: 2024-10-18
- Aliases: GHSA-c9vx-2g7w-rp65, openSUSE-SU-2024:13054-1, openSUSE-SU-2024:13055-1
- Record: https://cvemate.com/vulnerability/CVE-2023-37259 · JSON: https://cvemate.com/vulnerability/CVE-2023-37259/json

## Description

```text
matrix-react-sdk is a react-based SDK for inserting a Matrix chat/voip client into a web page. The Export Chat feature includes certain attacker-controlled elements in the generated document without sufficient escaping, leading to stored Cross site scripting (XSS). Since the Export Chat feature generates a separate document, an attacker can only inject code run from the `null` origin, restricting the impact. However, the attacker can still potentially use the XSS to leak message contents. A malicious homeserver is a potential attacker since the affected inputs are controllable server-side. This issue has been addressed in commit `22fcd34c60` which is included in release version 3.76.0. Users are advised to upgrade. The only known workaround for this issue is to disable or to not use the Export Chat feature.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
- EPSS: 0.452%, percentile 41.013%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- matrix-org matrix-react-sdk: ≥ 3.32.0, \< 3.76.0
- matrix-react-sdk\_project matrix-react-sdk: ≥ 3.32.0, \< 3.76.0 \| 3.76.0:rc1 \| 3.76.0:rc2
- Npm matrix-react-sdk (Npm): ≥ 3.32.0, \< 3.76.0
- opensuse element-desktop&distro=openSUSE Tumbleweed (openSUSE): \< 1.11.36-1.1
- opensuse element-web&distro=openSUSE Tumbleweed (openSUSE): \< 1.11.36-1.1

## References

- <https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-c9vx-2g7w-rp65>
- <https://github.com/matrix-org/matrix-react-sdk/commit/22fcd34c606f32129ebc967fc21f24fb708a98b8>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-37259>
- <https://github.com/matrix-org/matrix-react-sdk>
- <https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.76.0>
- <https://www.suse.com/security/cve/CVE-2023-37259>

---

Data as of 2026-12-05T05:31:33.929Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
