Medium severity6.5NVD Advisory· Published Feb 4, 2025· Updated Jun 17, 2026
CVE-2024-56328
CVE-2024-56328
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
8cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:*+ 6 more
- cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:*range: <3.4.0
- cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*range: <3.3.3
- cpe:2.3:a:discourse:discourse:3.4.0:beta1:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:3.4.0:beta2:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:3.4.0:beta3:*:*:beta:*:*:*
- (no CPE)
- (no CPE)range: stable: <= 3.3.3
Patches
Vulnerability mechanics
References
1- github.com/discourse/discourse/security/advisories/GHSA-j855-mhxj-x6vgnvdThird Party Advisory
News mentions
0No linked articles in our index yet.