CVE & CISA-KEV Catalog

CVE-2026-27166

MEDIUM
4.1
CVSS v3
NVD

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.

How to fix

Remediation Available
discourseNVD
Affected:>= 2026.2.0, < 2026.2.1Fixed in:2026.2.1CVE-2026-27166derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionRequired
ScopeChanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N

Exploit Intelligence

0.19%probability of exploitation in 30 days
8thpercentile

Low risk: more likely to be exploited than 8% of all known CVEs.

References

Vendor Advisory1

Related Vulnerabilities

Other CWE-80 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-21145Medium4.878%--
CVE-2020-13562Medium6.178%--
CVE-2020-13965Medium6.177%KEVFix
CVE-2020-13564Medium6.176%--
CVE-2020-13563Medium6.176%--
CVE-2024-4439High7.271%-Fix
Embed a live status badge for CVE-2026-27166
CVE-2026-27166 severity badge

Markdown

[![CVE-2026-27166](https://tridentstack.com/cve/badge/CVE-2026-27166.svg)](https://tridentstack.com/cve/CVE-2026-27166)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-27166"><img src="https://tridentstack.com/cve/badge/CVE-2026-27166.svg" alt="CVE-2026-27166"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-03-25.