CVE-2024-56328: Discourse
Medium severity, CVSS 6.1. EPSS: 0.4% chance of exploitation in the next 30 days.
Discourse is an open source platform for community discussion. An attacker can execute arbitrary JavaScript on users' browsers by posting a maliciously crafted onebox url. This issue only affects sites with CSP disabled. This problem has been patched in the latest version of Discourse. Users are advised to upgrade. Users unable to upgrade should enable CSP, disable inline Oneboxes globally, or allow specific domains for Oneboxing.
Affected products
- Discourse Discourse: before 3.3.3 (fixed in 3.3.3); before 3.4.0 (fixed in 3.4.0); version 3.4.0 only
Published 2025-02-04. Last modified 2026-06-17.