matrix-react-sdk@3.31.0-rc.2 vulnerabilities

SDK for matrix.org using React

Direct Vulnerabilities

Known vulnerabilities in the matrix-react-sdk package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Information Exposure

matrix-react-sdk is a SDK for matrix.org using React

Affected versions of this package are vulnerable to Information Exposure via the sendSharedHistoryKeys method. An attacker can potentially steal message keys for a room by injecting a malicious device controlled by the homeserver.

How to fix Information Exposure?

Upgrade matrix-react-sdk to version 3.102.0 or higher.

>=3.18.0 <3.102.0
  • M
Exposure of Private Personal Information to an Unauthorized Actor

matrix-react-sdk is a SDK for matrix.org using React

Affected versions of this package are vulnerable to Exposure of Private Personal Information to an Unauthorized Actor via a malicious homeserver, allowing an attacker to change the user's account data and cause the client to enable URL previews in end-to-end encrypted rooms. Exploiting this vulnerability causes any URLs in encrypted messages to be sent to the server.

How to fix Exposure of Private Personal Information to an Unauthorized Actor?

Upgrade matrix-react-sdk to version 3.105.1 or higher.

<3.105.1
  • M
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

matrix-react-sdk is a SDK for matrix.org using React

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') such that 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.

Note: No cross-site scripting attack is possible due to the hardcoded content security policy.

How to fix Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')?

Upgrade matrix-react-sdk to version 3.71.0 or higher.

<3.71.0
  • H
Prototype Pollution

matrix-react-sdk is a SDK for matrix.org using React

Affected versions of this package are vulnerable to Prototype Pollution such that in certain configurations, data sent by remote servers containing special strings in key locations could cause modifications of the Object.prototype, disrupting matrix-react-sdk functionality, causing denial of service and potentially affecting program logic.

How to fix Prototype Pollution?

Upgrade matrix-react-sdk to version 3.69.0 or higher.

<3.69.0
  • M
Prototype Pollution

matrix-react-sdk is a SDK for matrix.org using React

Affected versions of this package are vulnerable to Prototype Pollution such that events sent with special strings in key places can temporarily disrupt or impede the matrix-react-sdk from functioning properly, causing room or event tile crashes. The remainder of the application can appear functional, though certain rooms/events will not be rendered.

How to fix Prototype Pollution?

Upgrade matrix-react-sdk to version 3.53.0 or higher.

<3.53.0