{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-27166","published":"2026-03-19T21:17:08.740000Z","last_modified":"2026-06-17T10:26:46.800000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-80"],"cpes":[{"criteria":"cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*","part":"a","vendor":"discourse","product":"discourse","version_end_excluding":"2026.3.0"},{"criteria":"cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*","part":"a","vendor":"discourse","product":"discourse","version_start_including":"2026.1.0","version_end_excluding":"2026.1.2"},{"criteria":"cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*","part":"a","vendor":"discourse","product":"discourse","version_start_including":"2026.2.0","version_end_excluding":"2026.2.1"},{"criteria":"cpe:2.3:a:discourse:discourse:2026.3.0:*:*:*:latest:*:*:*","part":"a","vendor":"discourse","product":"discourse","version":"2026.3.0"}],"cpes_truncated":false,"vendors":["discourse"],"products":["discourse/discourse"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2026-27166/","html_en":"/en/cve/CVE-2026-27166/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-27166","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-27166"},"untrusted":{"vendor_name":"Discourse","product_name":"Discourse","desc_en":"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":[{"untrusted_vendor":"discourse","untrusted_product":"discourse","versions":[]}],"references":[{"url":"https://github.com/discourse/discourse/commit/c4762a4fac2f61f52f325396b11d3aeb955ea925","tags":["Patch"]},{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-h653-cq78-vjj2","tags":["Vendor Advisory"]}]}}