CVE Catalog

CVE-2026-27166

MediumCVSS 4.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

14th percentile - higher than 14% of all known CVEs

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.

Risk Assessment

An attacker can trick a user into changing the main page URL, potentially leading to phishing or other attacks. This may undermine user trust and platform security.

Recommendation

Upgrade Discourse to version 2026.3.0-latest.1, 2026.2.1, or 2026.1.2. As a workaround, remove Codepen from the list of allowed iframes.

Other vulnerabilities in Discourse

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS