CVE-2024-56328
published medium CVSS 3.1 · 6.5HTMLi(XSS without CSP) via Onebox urls in Discourse
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| discourse | — | discoursestable: <= 3.3.3 · beta: <= 3.4.0.beta3 · tests-passed: <= 3.4.0.beta3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| discourse | discourse | stable: <= 3.3.3 (affected)beta: <= 3.4.0.beta3 (affected)tests-passed: <= 3.4.0.beta3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
1Provider assertions
2GitHub_M · cna
HTMLi(XSS without CSP) via Onebox urls in Discourse
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 64f02dddcc59fd38d8e7ecd52a1ce7f36b7182789dca81d27eed27ddb245a9ab
- Ingested
- 23 Sep 2026, 08:31:43 UTC
- Source record
- Official CVE record