CWE
79
Advisory Published
Updated

CVE-2024-35234: Discourse vulnerable to stored-dom XSS via Facebook Oneboxes

First published: Wed Jul 03 2024(Updated: )

Discourse is an open-source discussion platform. Prior to version 3.2.3 on the `stable` branch and version 3.3.0.beta3 on the `tests-passed` branch, an attacker can execute arbitrary JavaScript on users’ browsers by posting a specific URL containing maliciously crafted meta tags. This issue only affects sites with Content Security Polic (CSP) disabled. The problem has been patched in version 3.2.3 on the `stable` branch and version 3.3.0.beta3 on the `tests-passed` branch. As a workaround, ensure CSP is enabled on the forum.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Discourse<3.2.3
Discourse<3.3.0
Discourse=3.3.0-beta1
Discourse=3.3.0-beta2

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-2024-35234?

    CVE-2024-35234 has been classified with a critical severity due to the potential for arbitrary JavaScript execution in users' browsers.

  • How do I fix CVE-2024-35234?

    To fix CVE-2024-35234, upgrade your Discourse installation to version 3.2.3 or later on the stable branch or version 3.3.0.beta3 or later on the tests-passed branch.

  • Which versions of Discourse are affected by CVE-2024-35234?

    CVE-2024-35234 affects Discourse versions prior to 3.2.3 on the stable branch and versions prior to 3.3.0.beta3 on the tests-passed branch.

  • What types of attacks does CVE-2024-35234 expose users to?

    CVE-2024-35234 exposes users to potential cross-site scripting (XSS) attacks through maliciously crafted URLs with meta tags.

  • Is there a workaround for CVE-2024-35234 if I can't upgrade immediately?

    There are no documented workarounds for CVE-2024-35234, so upgrading is the recommended mitigation strategy.

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