Description
Discourse is an open-source discussion platform. Prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0, Onebox::DomainChecker.is_blocked? compares hostnames and SiteSetting.blocked_onebox_domains entries case-sensitively, allowing an attacker to bypass configured Onebox domain restrictions by changing character casing in a redirect target hostname. This issue is fixed in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.
Published: 2026-08-10
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Discourse's Onebox feature, which displays rich previews for URLs, checks a configured list of blocked domains to prevent certain external sites from being embedded. The vulnerability arises because the domain check is performed with a case‑sensitive comparison. By altering the letter casing of a redirect target hostname, an attacker can trick the system into treating a blocked domain as allowed, thereby bypassing the blocklist. When the domain is accepted, the Onebox preview will load content from the malicious host, potentially facilitating phishing or the execution of malicious code in users' browsers. This flaw represents a classic case of improper input validation captured by CWE‑178. The impact is that any user with the ability to craft or submit a link can introduce untrusted content into the forum.

Affected Systems

The affected product is Discourse, the open source discussion platform. Versions that are affected are any releases prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0. All prior releases of Discourse before these specific builds are vulnerable; the patch was incorporated starting with those four releases. The configuration setting controlling the blocklist is SiteSetting.blocked_onebox_domains.

Risk and Exploitability

The CVSS base score is 5.3, indicating a moderate severity. EPSS is not available, and the vulnerability is not in CISA’s KEV catalog. An attacker can exploit the flaw simply by posting a link that redirects to a domain with altered casing, and no authentication is required. Because the attack relies on normal forum activity, it carries a relatively high potential for abuse, especially on active installations where users frequently share URLs. Consequently, the risk to affected deployments is significant until the platform is upgraded to a fixed release.

Generated by OpenCVE AI on August 10, 2026 at 17:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Discourse to version 2026.1.6, 2026.5.2, 2026.6.1, or 2026.7.0 or later to apply the fix that makes the domain comparison case‑insensitive.
  • Verify that your SiteSetting.blocked_onebox_domains list is populated with the domains you wish to block and that it is working correctly after the upgrade.
  • If you cannot upgrade immediately, consider disabling or limiting the Onebox feature for untrusted users or removing the feature entirely until a patch is available.

Generated by OpenCVE AI on August 10, 2026 at 17:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 11 Aug 2026 04:45:00 +0000

Type Values Removed Values Added
First Time appeared Discourse
Discourse discourse
Vendors & Products Discourse
Discourse discourse

Mon, 10 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 10 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
Description Discourse is an open-source discussion platform. Prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0, Onebox::DomainChecker.is_blocked? compares hostnames and SiteSetting.blocked_onebox_domains entries case-sensitively, allowing an attacker to bypass configured Onebox domain restrictions by changing character casing in a redirect target hostname. This issue is fixed in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.
Title Discourse: Onebox Domain Blocklist Bypass via Case-Sensitive Comparison
Weaknesses CWE-178
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}


Subscriptions

Discourse Discourse
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T16:59:07.554Z

Reserved: 2026-08-10T13:48:09.545Z

Link: CVE-2026-72721

cve-icon Vulnrichment

Updated: 2026-08-10T16:59:02.627Z

cve-icon NVD

Status : Received

Published: 2026-08-10T16:19:49.360

Modified: 2026-08-10T17:17:36.597

Link: CVE-2026-72721

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T04:30:03Z

Weaknesses
  • CWE-178

    Improper Handling of Case Sensitivity