Vulnerabilities · 2024 · Discourse
CVE-2024-39320
Discourse vulnerability
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.
Affected products
Discourse. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Discourse runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/discourse/discourse/security/advisories/GHSA-4p82-xh38-gq4p · Vendor Advisory
- github.com/discourse/discourse/commit/188cb58daa833839c54c266ce22db150a3f3a210 · Patch
- github.com/discourse/discourse/commit/76f06f6b1491db6bd09a4017d2c5591431b3b16e · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-39320
- cve.org/CVERecord?id=CVE-2024-39320
More vulnerabilities in Discourse products
CVE-2026-24742CVE-2026-23743CVE-2026-21865CVE-2025-69289CVE-2025-69218CVE-2025-68934CVE-2025-68933CVE-2025-68666All 197
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.