1. Home
  2. Vulnerabilities
  3. CVE-2026-27166

CVE-2026-27166

Discourse is an open source discussion platform. Prior to versions 2026.3.0-latest.1, 2026.2.1 and 2026.1.2…

Published 19 Mar 2026 · modified 17 Jun 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 25/100

Summary

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 products and versions

Discourse (4 line(s))
Discourse
ProductVersionsFixed inSource
Discourse before 2026.3.0 (excluded) — NVD
Discourse from 2026.1.0 (included) to 2026.1.2 (excluded) — NVD
Discourse from 2026.2.0 (included) to 2026.2.1 (excluded) — NVD
Discourse 2026.3.0 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (CVSS 3.1, NVD)
Weakness
CWE-80 · Autre (CWE-80)

How this data is obtained and calculated