Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Affecting matrix-react-sdk package, versions <3.71.0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-MATRIXREACTSDK-5461998
- published 26 Apr 2023
- disclosed 26 Apr 2023
- credit Unknown
Introduced: 26 Apr 2023
CVE-2023-30609 Open this link in a new tabHow to fix?
Upgrade matrix-react-sdk
to version 3.71.0 or higher.
Overview
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.
Workaround
Users who are unable to upgrade to the fixed version can restart the client to clear the HTML injection.