Discourse: Block post iframes whose encoded userinfo bypasses the allowed_iframes allowlist
Summary
| CVE | CVE-2026-91134 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-24 17:17:09 UTC |
| Updated | 2026-09-24 17:17:09 UTC |
| Description | Discourse is an open-source discussion platform. Prior to 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0, the Discourse post sanitizer allowed a stored cross-origin iframe to bypass the allowed_iframes prefix policy when the iframe src contained encoded userinfo. The sanitizer validated a decoded form differently from the stored iframe src, allowing the browser to interpret an attacker-controlled host while the allowlist check accepted the encoded URL as an allowed prefix. An authenticated user with posting privileges could persist the iframe in a post and cause attacker-controlled cross-origin content to be rendered. This issue is fixed in versions 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0. |
Risk And Classification
Primary CVSS: v3.1 5.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Problem Types: CWE-20 | CWE-20 CWE-20: Improper Input Validation
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Discourse | Discourse | affected < 2026.8.0 | Not specified |
| CNA | Discourse | Discourse | affected >= 2026.7.0-latest, < 2026.7.2 | Not specified |
| CNA | Discourse | Discourse | affected >= 2026.6.0-latest, < 2026.6.3 | Not specified |
| CNA | Discourse | Discourse | affected >= 2026.1.0-latest, < 2026.1.8 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/discourse/discourse/commit/fed3a58c48412ce7207b72a4629ddbc444... | [email protected] | github.com | |
| github.com/discourse/discourse/commit/bac7dd1201911851462483271b4567246f... | [email protected] | github.com | |
| github.com/discourse/discourse/pull/42882 | [email protected] | github.com | |
| github.com/discourse/discourse/security/advisories/GHSA-54vw-chv3-wjpv | [email protected] | github.com | |
| github.com/discourse/discourse/commit/0a8015e6c7a5079981843721494d30c9a9... | [email protected] | github.com | |
| github.com/discourse/discourse/commit/1304b0c04f87534053b0d574ae5a9b9ba1... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.