CWE
74 1021
Advisory Published
Updated

CVE-2024-39320: Discourse allows iframe injection though default site setting

First published: Tue Jul 30 2024(Updated: )

Discourse is an open source discussion platform. Prior to 3.2.5 and 3.3.0.beta5, the vulnerability allows an attacker to inject iframes from any domain, bypassing the intended restrictions enforced by the allowed_iframes setting. This vulnerability is fixed in 3.2.5 and 3.3.0.beta5.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Discourse<3.2.5
Discourse=3.3.0-beta1
Discourse=3.3.0-beta2
Discourse=3.3.0-beta3
Discourse=3.3.0-beta4

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-39320?

    CVE-2024-39320 is considered a moderate severity vulnerability that allows iframe injection from any domain.

  • How do I fix CVE-2024-39320?

    To fix CVE-2024-39320, upgrade to Discourse versions 3.2.5 or 3.3.0.beta5 or later.

  • What software is affected by CVE-2024-39320?

    CVE-2024-39320 affects Discourse versions prior to 3.2.5 and all 3.3.0 beta versions up to beta4.

  • What impact does CVE-2024-39320 have on security?

    CVE-2024-39320 can lead to security risks such as cross-site scripting (XSS) due to untrusted iframe content.

  • Is there a workaround for CVE-2024-39320?

    There is no official workaround for CVE-2024-39320 apart from updating to the fixed versions.

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