Live threats

All CVEs / Discourse

CVE-2026-27166Discourse

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
—
Auth required
Yes
Published
Mar 19, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-80
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Discourse.

Affected products (CPE)

VendorProductVersions
discoursediscourse< 2026.3.0
discoursediscourse≥ 2026.1.0 < 2026.1.2
discoursediscourse≥ 2026.2.0 < 2026.2.1
discoursediscourse2026.3.0

Official sources

References

Links published by the sources. Open them with care.