{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-37259","published":"2023-07-18T17:15:11.490000Z","last_modified":"2026-06-17T06:07:50.040000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:matrix-react-sdk_project:matrix-react-sdk:*:*:*:*:*:node.js:*:*","part":"a","vendor":"matrix-react-sdk_project","product":"matrix-react-sdk","version_start_including":"3.32.0","version_end_excluding":"3.76.0"},{"criteria":"cpe:2.3:a:matrix-react-sdk_project:matrix-react-sdk:3.76.0:rc1:*:*:*:node.js:*:*","part":"a","vendor":"matrix-react-sdk_project","product":"matrix-react-sdk","version":"3.76.0"},{"criteria":"cpe:2.3:a:matrix-react-sdk_project:matrix-react-sdk:3.76.0:rc2:*:*:*:node.js:*:*","part":"a","vendor":"matrix-react-sdk_project","product":"matrix-react-sdk","version":"3.76.0"}],"cpes_truncated":false,"vendors":["matrix-react-sdk_project"],"products":["matrix-react-sdk_project/matrix-react-sdk"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00508,"percentile":0.36624,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-c9vx-2g7w-rp65","ecosystem":"npm","name":"matrix-react-sdk","purl":"pkg:npm/matrix-react-sdk","ranges":[{"introduced":"3.32.0","fixed":"3.76.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2023-37259/","html_en":"/en/cve/CVE-2023-37259/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-37259","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-37259"},"untrusted":{"vendor_name":"Matrix-react-sdk Project","product_name":"Matrix-react-sdk","desc_en":"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.","affected":[{"untrusted_vendor":"matrix-org","untrusted_product":"matrix-react-sdk","versions":[]}],"references":[{"url":"https://github.com/matrix-org/matrix-react-sdk/commit/22fcd34c606f32129ebc967fc21f24fb708a98b8","tags":["Patch"]},{"url":"https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-c9vx-2g7w-rp65","tags":["Third Party Advisory"]}]}}