CVE-2023-37259
published medium CVSS 3.1 · 6.1Cross site scripting in Export Chat feature
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| matrix-org | — | matrix-react-sdk>= 3.32.0, < 3.76.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | element-desktopaarch64 | Advisory build | 1.11.36-1.1 | OPENSUSE-SU-2024:13054-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | element-desktopppc64le | Advisory build | 1.11.36-1.1 | OPENSUSE-SU-2024:13054-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | element-desktops390x | Advisory build | 1.11.36-1.1 | OPENSUSE-SU-2024:13054-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | element-desktopx86_64 | Advisory build | 1.11.36-1.1 | OPENSUSE-SU-2024:13054-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | element-webaarch64 | Advisory build | 1.11.36-1.1 | OPENSUSE-SU-2024:13055-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | element-webppc64le | Advisory build | 1.11.36-1.1 | OPENSUSE-SU-2024:13055-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | element-webs390x | Advisory build | 1.11.36-1.1 | OPENSUSE-SU-2024:13055-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | element-webx86_64 | Advisory build | 1.11.36-1.1 | OPENSUSE-SU-2024:13055-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| matrix-org | matrix-react-sdk | >= 3.32.0, < 3.76.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
3GitHub_M · cna
Cross site scripting in Export Chat feature
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c86934676ae86198a5eecb8ea771a11ed123d0a31f3580778f1b57e9bda56033
- Ingested
- 23 Sep 2026, 08:10:12 UTC
- Source record
- Official CVE record