CVE-2024-42347
JavaScript vulnerability analysis and mitigation

Overview

matrix-react-sdk, a react-based SDK for inserting a Matrix chat/voip client into a web page, was found to contain a security vulnerability identified as CVE-2024-42347. The vulnerability was discovered and disclosed in August 2024, affecting versions prior to 3.105.1. The issue allows a malicious homeserver to manipulate a user's account data to enable URL previews in end-to-end encrypted rooms, potentially exposing encrypted message content to the server (Matrix Advisory).

Technical details

The vulnerability stems from improper validation of account data from homeservers, which could allow manipulation of URL preview settings in end-to-end encrypted rooms. When exploited, the vulnerability enables URL previews in encrypted rooms, causing any URLs within encrypted messages to be sent to the server. Despite having a CVSS 3.1 base score of 6.5 MEDIUM (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) from NVD, and a higher score of 7.7 HIGH (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N) from GitHub, the issue is classified as High severity due to its potential impact on encrypted communications (NVD Database, Matrix Advisory).

Impact

The primary impact of this vulnerability is the potential exposure of URLs from encrypted messages to the server. This represents a significant breach of the end-to-end encryption security model, as it allows a malicious homeserver to gain access to information that should remain encrypted and private (Matrix Advisory).

Exploitability

The vulnerability requires a malicious homeserver to exploit, limiting the attack surface to scenarios where the homeserver cannot be trusted. The attack can be executed without user interaction, making it particularly concerning for deployments that interact with untrusted servers (Matrix Advisory).

Mitigation and workarounds

The vulnerability has been patched in matrix-react-sdk version 3.105.1. Users are strongly advised to upgrade to this version or later. For those unable to upgrade immediately, it's noted that deployments that trust their homeservers, as well as closed federations of trusted servers, are not affected by this vulnerability (Matrix Advisory, Release Notes).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-88062CRITICAL9.5
  • JavaScript logoJavaScript
  • omniroute
NoNoSep 10, 2026
CVE-2026-61534CRITICAL9.1
  • JavaScript logoJavaScript
  • yayson
NoYesSep 11, 2026
CVE-2026-59973HIGH8.5
  • JavaScript logoJavaScript
  • @frontmcp/adapters
NoYesSep 11, 2026
CVE-2026-59960HIGH7.5
  • JavaScript logoJavaScript
  • @argos-ci/core
NoYesSep 10, 2026
CVE-2026-59965HIGH7.1
  • JavaScript logoJavaScript
  • @jhb.software/payload-alt-text-plugin
NoNoSep 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management