# CVE-2024-47824: Malicious homeservers can steal message keys when the matrix-react-sdk user invites another user to a room

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Published: 2024-10-15T15:40:37.397Z
- Modified: 2026-06-17T07:57:49.253Z
- Also known as: GHSA-qcvh-p9jq-wp8v
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

matrix-react-sdk is react-based software development kit for inserting a Matrix chat/VOIP client into a web page. Starting in version 3.18.0 and before 3.102.0, matrix-react-sdk allows a malicious homeserver to potentially steal message keys for a room when a user invites another user to that room, via injection of a malicious device controlled by the homeserver. This is possible because matrix-react-sdk before 3.102.0 shared historical message keys on invite. Version 3.102.0 fixes this issue by disabling sharing message keys on invite by removing calls to the vulnerable functionality. No known workarounds are available.

(As written by CVE List.)

## Affected

- matrix-org matrix-react-sdk: >= 3.18.0, < 3.102.0
- matrix-react-sdk_project matrix-react-sdk: up to 3.18.0; up to 3.102.0
- matrix-react-sdk (npm): from 3.18.0 before 3.102.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 0.0 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-qcvh-p9jq-wp8v> (web)
- <https://github.com/matrix-org/matrix-react-sdk/pull/12618> (web)
- <https://github.com/matrix-org/matrix-react-sdk/commit/6fc9d7641c51ca3db8225cf58b9d6e6fdd2d6556> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-47824> (advisory)
- <https://github.com/matrix-org/matrix-react-sdk> (package)

## Sources

- CVE List: [CVE-2024-47824](https://www.cve.org/CVERecord?id=CVE-2024-47824), CVE Terms of Use, modified 2024-11-21
- GitHub Advisory Database: [GHSA-qcvh-p9jq-wp8v](https://github.com/advisories/GHSA-qcvh-p9jq-wp8v), CC-BY-4.0, modified 2024-10-15
- NVD: [CVE-2024-47824](https://nvd.nist.gov/vuln/detail/CVE-2024-47824), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-47824 · Whole record: https://cve.day/CVE-2024-47824.json · Rebuilt by cve.day 2026-11-25T22:58:46.760Z
