Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1jOXZ4LTJnN3ctcnA2Nc4AA0xY
matrix-react-sdk vulnerable to XSS in Export Chat feature
Description
The Export Chat feature includes certain attacker-controlled elements in the generated document without sufficient escaping, leading to stored XSS.
Impact
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.
Patches
This was patched in matrix-react-sdk 3.76.0.
Workarounds
None, other than not using the Export Chat feature.
References
N/A
Permalink: https://github.com/advisories/GHSA-c9vx-2g7w-rp65JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jOXZ4LTJnN3ctcnA2Nc4AA0xY
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 1 year ago
Updated: about 1 year ago
CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
Identifiers: GHSA-c9vx-2g7w-rp65, CVE-2023-37259
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://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.76.0
- https://nvd.nist.gov/vuln/detail/CVE-2023-37259
- https://github.com/advisories/GHSA-c9vx-2g7w-rp65
Blast Radius: 11.5
Affected Packages
npm:matrix-react-sdk
Dependent packages: 7Dependent repositories: 78
Downloads: 6,924 last month
Affected Version Ranges: >= 3.32.0, < 3.76.0
Fixed in: 3.76.0
All affected versions: 3.32.0, 3.32.1, 3.33.0, 3.34.0, 3.35.1, 3.36.0, 3.36.1, 3.37.0, 3.38.0, 3.39.0, 3.39.1, 3.40.0, 3.40.1, 3.41.0, 3.41.1, 3.42.0, 3.42.1, 3.42.3, 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