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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| discourse | discourse | stable: <= 3.3.3; beta: <= 3.4.0.beta3; tests-passed: <= 3.4.0.beta3 |
References
- https://github.com/discourse/discourse/security/advisories/GHSA-j855-mhxj-x6vgThird Party Advisory
Timeline
- Published
- Feb 4, 2025
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed