Vulnerabilities · 2024 · Discourse
CVE-2024-35234
Discourse vulnerability
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.
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/commit/26aef0c288839378b9de5819e96eac8cf4ea60fd · Patch
- github.com/discourse/discourse/commit/311b737c910cf0a69f61e1b8bc0b78374b6619d2 · Patch
- github.com/discourse/discourse/security/advisories/GHSA-5chg-hm8c-wc58 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2024-35234
- cve.org/CVERecord?id=CVE-2024-35234
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.