ghsa-xv83-x443-7rmw
Vulnerability from github
Published
2023-04-25 19:48
Modified
2023-09-22 19:51
Severity ?
Summary
HTML injection in search results via plaintext message highlighting
Details
Impact
Plain text messages containing HTML tags are rendered as HTML in the search results. To exploit this, an attacker needs to trick a user into searching for a specific message containing an HTML injection payload.
Cross-site scripting is possible by including resources from recaptcha.net
and gstatic.com
which are included in the default CSP.
Thanks to Cadence Ember for finding the injection and to S1m for finding possible XSS vectors.
Patches
Version 3.71.0 of the SDK fixes the issue.
Workarounds
Restarting the client will clear the injection.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "matrix-react-sdk" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "3.71.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2023-30609" ], "database_specific": { "cwe_ids": [ "CWE-74", "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2023-04-25T19:48:11Z", "nvd_published_at": "2023-04-25T21:15:10Z", "severity": "HIGH" }, "details": "### Impact\nPlain text messages containing HTML tags are rendered as HTML in the search results. To exploit this, an attacker needs to trick a user into searching for a specific message containing an HTML injection payload.\n\nCross-site scripting is possible by including resources from `recaptcha.net` and `gstatic.com` which are included in the default CSP.\n\nThanks to [Cadence Ember](https://cadence.moe/) for finding the injection and to [S1m](https://github.com/p1gp1g/) for finding possible XSS vectors.\n\n### Patches\nVersion 3.71.0 of the SDK fixes the issue.\n\n### Workarounds\nRestarting the client will clear the injection.", "id": "GHSA-xv83-x443-7rmw", "modified": "2023-09-22T19:51:24Z", "published": "2023-04-25T19:48:11Z", "references": [ { "type": "WEB", "url": "https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-xv83-x443-7rmw" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30609" }, { "type": "WEB", "url": "https://github.com/matrix-org/matrix-react-sdk/commit/bf182bc94556849d7acdfa0e5fdea2aa129ea826" }, { "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.71.0" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L", "type": "CVSS_V3" } ], "summary": "HTML injection in search results via plaintext message highlighting" }
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.