6.1

CVE-2023-37259: matrix-org matrix-react-sdk Cross-site Scripting

CVSS: 6.1v3.1MediumModified
AliasesGHSA-c9vx-2g7w-rp65openSUSE-SU-2024:13054-1openSUSE-SU-2024:13055-1
Published 18-07-2023Last modified 18-10-2024

Vulnerability summary

CVE-2023-37259 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in matrix-org matrix-react-sdk. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 37.9% of scored vulnerabilities.

Overall risk
24/100
0100
Low · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.45%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 18-07-2023
    PublishedVulnerability first disclosed.
  2. 18-10-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.45%

Chance of exploitation in the next 30 days

Percentile

38%

Versus all other CVEs

30-day change

0.00 pp

From 0.45% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.45%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Opensuse2 products
  • element-desktop&distro=openSUSE Tumbleweed< 1.11.36-1.1
  • element-web&distro=openSUSE Tumbleweed< 1.11.36-1.1
Matrix-org1 product
Matrix-react-sdk_project1 product
Npm1 product
  • matrix-react-sdk≥ 3.32.0, < 3.76.0

4 vendors · 5 products

References

6 links