Skip to main content
← All vulnerabilities
CVE-2023-30609GHSA-XV83-X443-7RMW

matrix-react-sdk vulnerable to HTML injection in search results via plaintext message highlighting

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.71.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

matrix-react-sdk is a react-based SDK for inserting a Matrix chat/VoIP client into a web page. Prior to version 3.71.0, 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. No cross-site scripting attack is possible due to the hardcoded content security policy. Version 3.71.0 of the SDK patches over the issue. As a workaround, restarting the client will clear the HTML injection.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • matrix-org matrix-react-sdk

    fixed in 3.71.0

  • matrix-react-sdknpm

    fixed in 3.71.0

References 3

GitHub · matrix-org/matrix-react-sdk