CWE
79 80
Advisory Published
CVE Published
Updated

CVE-2023-37259: Cross site scripting in Export Chat feature

First published: Tue Jul 18 2023(Updated: )

### Description The Export Chat feature includes certain attacker-controlled elements in the generated document without sufficient escaping, leading to stored XSS. ### Impact Since the Export Chat feature generates a separate document, an attacker can only inject code run from the `null` origin, restricting the impact. However, the attacker can still potentially use the XSS to leak message contents. A malicious homeserver is a potential attacker since the affected inputs are controllable server-side. ### Patches This was patched in matrix-react-sdk 3.76.0. ### Workarounds None, other than not using the Export Chat feature. ### References N/A

Credit: security-advisories@github.com security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
npm/matrix-react-sdk>=3.32.0<3.76.0
3.76.0
Matrix React SDK>=3.32.0<3.76.0
Matrix React SDK=3.76.0-rc1
Matrix React SDK=3.76.0-rc2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-37259?

    CVE-2023-37259 is considered a high severity vulnerability due to the potential for stored cross-site scripting (XSS) attacks.

  • How do I fix CVE-2023-37259?

    To fix CVE-2023-37259, you should update the Matrix React SDK to version 3.76.0 or later.

  • What is stored XSS in the context of CVE-2023-37259?

    Stored XSS in CVE-2023-37259 refers to the ability of an attacker to inject malicious scripts into generated documents via the Export Chat feature.

  • Which versions of the Matrix React SDK are affected by CVE-2023-37259?

    CVE-2023-37259 affects Matrix React SDK versions between 3.32.0 and 3.76.0, inclusive.

  • Can CVE-2023-37259 affect user data security?

    Yes, CVE-2023-37259 can compromise user data security by allowing attackers to execute scripts within the context of a user's session.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203