ghsa-c9vx-2g7w-rp65
Vulnerability from github
Published
2023-07-18 16:58
Modified
2023-07-19 20:04
Severity ?
Summary
matrix-react-sdk vulnerable to XSS in Export Chat feature
Details
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
{ "affected": [ { "package": { "ecosystem": "npm", "name": "matrix-react-sdk" }, "ranges": [ { "events": [ { "introduced": "3.32.0" }, { "fixed": "3.76.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2023-37259" ], "database_specific": { "cwe_ids": [ "CWE-79", "CWE-80" ], "github_reviewed": true, "github_reviewed_at": "2023-07-18T16:58:01Z", "nvd_published_at": "2023-07-18T17:15:11Z", "severity": "MODERATE" }, "details": "### Description\n\nThe Export Chat feature includes certain attacker-controlled elements in the generated document without sufficient escaping, leading to stored XSS.\n\n### Impact\n\nSince the Export Chat feature generates a separate document, an attacker can only inject code run from the `null` origin, restricting the impact.\n\nHowever, 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.\n\n### Patches\nThis was patched in matrix-react-sdk 3.76.0.\n\n### Workarounds\nNone, other than not using the Export Chat feature.\n\n### References\nN/A\n", "id": "GHSA-c9vx-2g7w-rp65", "modified": "2023-07-19T20:04:38Z", "published": "2023-07-18T16:58:01Z", "references": [ { "type": "WEB", "url": "https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-c9vx-2g7w-rp65" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-37259" }, { "type": "WEB", "url": "https://github.com/matrix-org/matrix-react-sdk/commit/22fcd34c606f32129ebc967fc21f24fb708a98b8" }, { "type": "PACKAGE", "url": "https://github.com/matrix-org/matrix-react-sdk" }, { "type": "WEB", "url": "https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.76.0" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N", "type": "CVSS_V3" } ], "summary": "matrix-react-sdk vulnerable to XSS in Export Chat feature" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.