Lookup for vulnerable packages by Package URL.

Purlpkg:npm/matrix-react-sdk@3.95.0
Typenpm
Namespace
Namematrix-react-sdk
Version3.95.0
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version3.105.1
Latest_non_vulnerable_version3.105.1
Affected_by_vulnerabilities
0
url VCID-e42f-h16f-gkbf
vulnerability_id VCID-e42f-h16f-gkbf
summary
Malicious homeservers can steal message keys when the matrix-react-sdk user invites another user to a room
### Impact

matrix-react-sdk before 3.102.0 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.

### Patches

matrix-react-sdk 3.102.0 [disables sharing message keys on invite](https://github.com/matrix-org/matrix-react-sdk/pull/12618) by removing calls to the vulnerable functionality.

### Workarounds

None.

### References

The vulnerability in matrix-react-sdk is caused by calling `MatrixClient.sendSharedHistoryKeys` in matrix-js-sdk, which is inherently vulnerable to this sort of attack. This matrix-js-sdk vulnerability is tracked as CVE-2024-47080 / [GHSA-4jf8-g8wp-cx7c](https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-4jf8-g8wp-cx7c). Given that this functionality is not specific to sharing message keys on *invite*, is optional, has to be explicitly called by the caller and has been independently patched in matrix-react-sdk by removing the offending calls, we believe it is proper to treat the matrix-react-sdk vulnerability as a separate one, with its own advisory and CVE.

The matrix-org/matrix-react-sdk repository has recently been archived and the project was moved to [element-hq/matrix-react-sdk](https://github.com/element-hq/matrix-react-sdk). Given that this happened *after* the first patched release, no releases of the project on [element-hq/matrix-react-sdk](https://github.com/element-hq/matrix-react-sdk) were ever vulnerable to this vulnerability.

Patching pull request: https://github.com/matrix-org/matrix-react-sdk/pull/12618.

### For more information

If you have any questions or comments about this advisory, please email us at security at [security at matrix.org](mailto:security@matrix.org).
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2024-47824
reference_id
reference_type
scores
0
value 0.00526
scoring_system epss
scoring_elements 0.66969
published_at 2026-04-07T12:55:00Z
1
value 0.00526
scoring_system epss
scoring_elements 0.67053
published_at 2026-04-18T12:55:00Z
2
value 0.00526
scoring_system epss
scoring_elements 0.67039
published_at 2026-04-16T12:55:00Z
3
value 0.00526
scoring_system epss
scoring_elements 0.67006
published_at 2026-04-13T12:55:00Z
4
value 0.00526
scoring_system epss
scoring_elements 0.67036
published_at 2026-04-12T12:55:00Z
5
value 0.00526
scoring_system epss
scoring_elements 0.67051
published_at 2026-04-11T12:55:00Z
6
value 0.00526
scoring_system epss
scoring_elements 0.67031
published_at 2026-04-09T12:55:00Z
7
value 0.00526
scoring_system epss
scoring_elements 0.67019
published_at 2026-04-08T12:55:00Z
8
value 0.00526
scoring_system epss
scoring_elements 0.66995
published_at 2026-04-04T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2024-47824
1
reference_url https://github.com/matrix-org/matrix-react-sdk
reference_id
reference_type
scores
0
value 0.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
1
value 8.7
scoring_system cvssv4
scoring_elements 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
2
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/matrix-org/matrix-react-sdk
2
reference_url https://github.com/matrix-org/matrix-react-sdk/commit/6fc9d7641c51ca3db8225cf58b9d6e6fdd2d6556
reference_id
reference_type
scores
0
value 0.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
1
value 8.7
scoring_system cvssv4
scoring_elements 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
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2024-10-15T16:35:51Z/
url https://github.com/matrix-org/matrix-react-sdk/commit/6fc9d7641c51ca3db8225cf58b9d6e6fdd2d6556
3
reference_url https://github.com/matrix-org/matrix-react-sdk/pull/12618
reference_id
reference_type
scores
0
value 0.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
1
value 8.7
scoring_system cvssv4
scoring_elements 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
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2024-10-15T16:35:51Z/
url https://github.com/matrix-org/matrix-react-sdk/pull/12618
4
reference_url https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-qcvh-p9jq-wp8v
reference_id
reference_type
scores
0
value 0.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value 8.7
scoring_system cvssv4
scoring_elements 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
3
value HIGH
scoring_system generic_textual
scoring_elements
4
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2024-10-15T16:35:51Z/
url https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-qcvh-p9jq-wp8v
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2024-47824
reference_id
reference_type
scores
0
value 0.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
1
value 8.7
scoring_system cvssv4
scoring_elements 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
2
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2024-47824
6
reference_url https://github.com/advisories/GHSA-qcvh-p9jq-wp8v
reference_id GHSA-qcvh-p9jq-wp8v
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-qcvh-p9jq-wp8v
fixed_packages
0
url pkg:npm/matrix-react-sdk@3.102.0
purl pkg:npm/matrix-react-sdk@3.102.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-k3ft-j7d1-nkh7
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/matrix-react-sdk@3.102.0
aliases CVE-2024-47824, GHSA-qcvh-p9jq-wp8v
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-e42f-h16f-gkbf
1
url VCID-k3ft-j7d1-nkh7
vulnerability_id VCID-k3ft-j7d1-nkh7
summary
Matrix SDK for React's URL preview setting for a room is controllable by the homeserver
### Impact
A malicious homeserver could manipulate a user's account data to cause the client to enable URL previews in end-to-end encrypted rooms, in which case any URLs in encrypted messages would be sent to the server.

Even if the CVSS score would be 4.1 ([AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N](https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N&version=3.1)) the maintainer classifies this as High severity issue.

### Patches
This was patched in matrix-react-sdk 3.105.1.

### Workarounds
Deployments that trust their homeservers, as well as closed federations of trusted servers, are not affected.

### References
N/A.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2024-42347
reference_id
reference_type
scores
0
value 0.00766
scoring_system epss
scoring_elements 0.7343
published_at 2026-04-04T12:55:00Z
1
value 0.00766
scoring_system epss
scoring_elements 0.73499
published_at 2026-04-18T12:55:00Z
2
value 0.00766
scoring_system epss
scoring_elements 0.7349
published_at 2026-04-16T12:55:00Z
3
value 0.00766
scoring_system epss
scoring_elements 0.73448
published_at 2026-04-13T12:55:00Z
4
value 0.00766
scoring_system epss
scoring_elements 0.73456
published_at 2026-04-12T12:55:00Z
5
value 0.00766
scoring_system epss
scoring_elements 0.73476
published_at 2026-04-11T12:55:00Z
6
value 0.00766
scoring_system epss
scoring_elements 0.73453
published_at 2026-04-09T12:55:00Z
7
value 0.00766
scoring_system epss
scoring_elements 0.73439
published_at 2026-04-08T12:55:00Z
8
value 0.00766
scoring_system epss
scoring_elements 0.73402
published_at 2026-04-07T12:55:00Z
9
value 0.00766
scoring_system epss
scoring_elements 0.73407
published_at 2026-04-02T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2024-42347
1
reference_url https://github.com/matrix-org/matrix-react-sdk
reference_id
reference_type
scores
0
value 4.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
1
value 5.1
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/U:Red
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/matrix-org/matrix-react-sdk
2
reference_url https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.105.1
reference_id
reference_type
scores
0
value 4.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
1
value 7.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
2
value 5.1
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/U:Red
3
value MODERATE
scoring_system generic_textual
scoring_elements
4
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-08-08T18:48:06Z/
url https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.105.1
3
reference_url https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-f83w-wqhc-cfp4
reference_id
reference_type
scores
0
value 4.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
1
value 7.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
2
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
3
value 5.1
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/U:Red
4
value MODERATE
scoring_system generic_textual
scoring_elements
5
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-08-08T18:48:06Z/
url https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-f83w-wqhc-cfp4
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2024-42347
reference_id
reference_type
scores
0
value 4.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
1
value 5.1
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/U:Red
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2024-42347
5
reference_url https://github.com/advisories/GHSA-f83w-wqhc-cfp4
reference_id GHSA-f83w-wqhc-cfp4
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-f83w-wqhc-cfp4
fixed_packages
0
url pkg:npm/matrix-react-sdk@3.105.1
purl pkg:npm/matrix-react-sdk@3.105.1
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/matrix-react-sdk@3.105.1
aliases CVE-2024-42347, GHSA-f83w-wqhc-cfp4
risk_score 3.5
exploitability 0.5
weighted_severity 6.9
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-k3ft-j7d1-nkh7
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:npm/matrix-react-sdk@3.95.0