Vulnerabilities · 2024 · Discourse
CVE-2024-23834
Discourse vulnerability
Discourse is an open-source discussion platform. Improperly sanitized user input could lead to an XSS vulnerability in some situations. This vulnerability only affects Discourse instances which have disabled the default Content Security Policy. The vulnerability is patched in 3.1.5 and 3.2.0.beta5. As a workaround, ensure Content Security Policy is enabled and does not include `unsafe-inline`.
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.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/discourse/discourse/security/advisories/GHSA-rj3g-8q6p-63pc · Vendor Advisory
- meta.discourse.org/t/3-1-5-security-and-bug-fix-release/293094 · Vendor Advisory
- meta.discourse.org/t/3-2-0-beta5-add-groups-to-dms-mobile-chat-footer-redesign-passkeys-en · Vendor Advisory
- github.com/discourse/discourse/commit/568d704a94c528b7c2cb0f3512a7b7b606bc3000 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-23834
- cve.org/CVERecord?id=CVE-2024-23834
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.