matrix-react-sdk@3.71.0-rc.1 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
  • M
Cross-site Scripting (XSS)

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

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the Export Chat feature, which includes certain attacker-controlled elements in the generated document without sufficient escaping.

Note: An attacker can only inject code run from the null origin, restricting the impact.

How to fix Cross-site Scripting (XSS)?

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

>=3.32.0 <3.76.0
  • 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