Original description
Discourse is an open source discussion platform. Prior to versions 2026.3.0-latest.1, 2026.2.1 and 2026.1.2, insufficient cleanup in the default Codepen allowed iframes value allows an attacker to trick a user into changing the URL of the main page. This issue has been fixed in versions 2026.3.0-latest.1, 2026.2.1 and 2026.1.2. To workaround this issue, remove Codepen from the list of allowed iframes.
Affected software
- Discourse ≥ 2026.2.0 < 2026.2.1*≥ 2026.1.0 < 2026.1.2= 2026.3.0< 2026.3.0 Fixed in: 2026.2.1, 2026.1.2, 2026.3.0 exact match
Details
- Published
- 2026-03-19
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N- CWE
- CWE-80
- EPSS (30-day exploit probability)
- 0.22% (percentile 13)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.