SecurityContext

CVE-2023-30609: matrix-react-sdk - Stored XSS

  • Cve: CVE-2023-30609
  • Name: matrix-react-sdk - Stored XSS
  • Description: 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.
  • Impact: Attackers can execute arbitrary scripts in the context of the victim's browser, potentially leading to session hijacking or data theft.
  • Remediation: Update to version 3.71.0 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs user to search for a message containing HTML payload
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.7
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
  • Epss score: 0.00617
  • Epss percentile: 0.50287
  • Assignee: [email protected]
  • Published at: 2023-04-25T21:15:10Z
  • Age in days: 1309
  • Modified at: 2026-06-17T05:55:07Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-30609
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/matrix-org/matrix-react-sdk/commit/bf182bc94556849d7acdfa0e5fdea2aa129ea826Patch
https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-xv83-x443-7rmwVendor Advisory
https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.71.0Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
matrix-react-sdk_project:matrix-react-sdk< 3.71.0nonvd/v1/products/matrix-react-sdk_project/matrix-react-sdk

Projects

RepositoryLink kindsIndexedUrl
matrix-org/matrix-react-sdkcommit, fix, package, releases, security_advisoryyes/v1/repositories/matrix-org/matrix-react-sdk

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts