npmWorst: High9 advisories
matrix-react-sdk: known vulnerabilities
matrix-react-sdk has 9 reviewed security advisories in the GitHub Advisory Database — 4 high, 4 moderate, 1 low. The most recent was published 2024-10-15. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the matrix-react-sdk versions running across your servers, containers and images, and ranks what to patch first.
How to fix matrix-react-sdk
Upgrade matrix-react-sdk to a release at or above the fixed version shown for each advisory below. For npm:
npm install matrix-react-sdk@3.102.0 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (9)
Malicious homeservers can steal message keys when the matrix-react-sdk user invites another user to a room
High 0.0 CWE-200
— Affected: from 3.18.0 up to 3.102.0. Fixed in 3.102.0. Published 2024-10-15. GHSA-qcvh-p9jq-wp8v · CVE-2024-47824
Matrix SDK for React's URL preview setting for a room is controllable by the homeserver
Moderate 4.1 CWE-359
— Affected: before 3.105.1. Fixed in 3.105.1. Published 2024-08-06. GHSA-f83w-wqhc-cfp4 · CVE-2024-42347
matrix-react-sdk vulnerable to XSS in Export Chat feature
Moderate 6.1 CWE-79 CWE-80
— Affected: from 3.32.0 up to 3.76.0. Fixed in 3.76.0. Published 2023-07-18. GHSA-c9vx-2g7w-rp65 · CVE-2023-37259
HTML injection in search results via plaintext message highlighting
High 8.2 CWE-74 CWE-79
— Affected: before 3.71.0. Fixed in 3.71.0. Published 2023-04-25. GHSA-xv83-x443-7rmw · CVE-2023-30609
matrix-react-sdk Prototype pollution vulnerability
High 7.2 CWE-1321
— Affected: before 3.53.0. Fixed in 3.53.0. Published 2023-03-28. GHSA-2x9c-qwgf-94xr · CVE-2022-36060
Prototype pollution in matrix-react-sdk
High 8.2 CWE-1321
— Affected: before 3.69.0. Fixed in 3.69.0. Published 2023-03-28. GHSA-6g43-88cp-w5gv · CVE-2023-28103
File upload local preview can run embedded scripts after user interaction
Moderate 4.2 CWE-74
— Affected: before 3.21.0. Fixed in 3.21.0. Published 2021-05-17. GHSA-8796-gc9j-63rv · CVE-2021-32622
Improper file handling in matrix-react-sdk
Moderate 4.2 CWE-434 CWE-74
— Affected: before 3.21.0. Fixed in 3.21.0. Published 2021-05-17. GHSA-cg57-p69r-3m7p · CVE-2021-32622
User content sandbox can be confused into opening arbitrary documents
Low 2.6 CWE-345
— Affected: before 3.15.0. Fixed in 3.15.0. Published 2021-03-02. GHSA-52mq-6jcv-j79x · CVE-2021-21320
Find matrix-react-sdk across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.