CVE-2026-91132 Details
Description
Discourse is an open-source discussion platform. Prior to 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0, sites using wildcard patterns in the allowed_iframes setting could accept a crafted iframe URL whose allowlisted suffix appeared after a URL authority separator. The wildcard origin check matched the allowed domain text, while browser URL parsing selected a different attacker-controlled origin. A user with posting privileges could exploit the flaw through a post or a Onebox oEmbed response and cause an attacker-controlled iframe to be rendered independently of the allowlisted domain. Successful exploitation requires a site-configured wildcard iframe pattern and the ability to create a post or trigger an oEmbed request for an attacker-controlled URL. This issue is fixed in versions 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0.
A vulnerability exists in Discourse versions prior to 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0, allowing sites with wildcard patterns in the allowed_iframes setting to be tricked into embedding iframes from attacker-controlled URLs. The issue arises because the wildcard origin check can be bypassed by inserting a URL authority separator, leading to the rendering of malicious content in posts. This vulnerability affects sites that have configured wildcard iframe allowlists and can be exploited by users with posting privileges or through Onebox oEmbed responses.
Users can update to Discourse versions 2026.1.8, 2026.6.3, 2026.7.2, or 2026.8.0 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-346 | Origin Validation Error | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Discourse | >= 2026.1.0-latest (semver) >= 2026.6.0-latest (semver) >= 2026.7.0-latest (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 24, 2026 | New CVE Received | [email protected] |
Volerion