CVE-2023-30609
HIGH8.2EPSS 0.57%HTML injection in search results via plaintext message highlighting
發布日:2023/4/25修改日:2023/11/8
描述
### 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](https://cadence.moe/) for finding the injection and to [S1m](https://github.com/p1gp1g/) for finding possible XSS vectors. ### Patches Version 3.71.0 of the SDK fixes the issue. ### Workarounds Restarting the client will clear the injection.
受影響套件(1)
- npm/matrix-react-sdkfrom 0, < 3.71.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.2 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-30609
- PATCHhttps://github.com/matrix-org/matrix-react-sdk
- WEBhttps://github.com/matrix-org/matrix-react-sdk/commit/bf182bc94556849d7acdfa0e5fdea2aa129ea826
- WEBhttps://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.71.0
- WEBhttps://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-xv83-x443-7rmw