CVE-2024-39320
published medium CVSS 3.1 · 6.1Discourse allows iframe injection though default site setting
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| discourse | — | discourse< 3.2.5 · >= 3.3.0.beta1, < 3.3.0.beta5 | Affected | Not stated | GitHub_M |
Description
Discourse is an open source discussion platform. Prior to 3.2.5 and 3.3.0.beta5, the vulnerability allows an attacker to inject iframes from any domain, bypassing the intended restrictions enforced by the allowed_iframes setting. This vulnerability is fixed in 3.2.5 and 3.3.0.beta5.
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.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| discourse | discourse | < 3.2.5 (affected)>= 3.3.0.beta1, < 3.3.0.beta5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-1021 CWE-1021: Improper Restriction of Rendered UI Layers or Frames
References
3Provider assertions
3GitHub_M · cna
Discourse allows iframe injection though default site setting
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e7ce578a8a68a0a31d44ed7932910dc1a10baa7cdf2cf1baa0e1e63890e91b8a
- Ingested
- 23 Sep 2026, 08:25:04 UTC
- Source record
- Official CVE record