Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister or use existing forum account
-
DeliveryPost URL containing redirect to blocked domain with mixed-case hostname
-
ExploitDiscourse Onebox fetches URL and follows redirect
-
ExecutionCase-sensitive `is_blocked?` check fails to match blocklist entry
-
ImpactOnebox renders preview exposing blocked domain content to forum readers
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Case sensitivity handling
|
| Exploitation Conditions | Exploitation requires an active registered account on the target Discourse instance with standard post-creation permissions - anonymous posting does not typically apply. The critical prerequisite is that the administrator must have populated |
| Impact | The official CVSS 3.1 score of 5.3 Medium uses AV:N/AC:L/PR:N/UI:N, but the PR:N rating warrants scrutiny: standard Discourse deployments require user registration to post content, meaning exploitation in practice likely requires an authenticated account (PR:L), which would lower the score to approximately 4.3. EPSS data was not provided in the available intelligence, and the vulnerability is not listed in CISA KEV, indicating no confirmed active exploitation. The impact is constrained to Low confidentiality - an attacker can obtain Onebox-rendered previews of blocked domains, but cannot escalate privileges, execute code, or access data beyond what the Onebox fetcher retrieves. Real-world risk is further bounded by requiring a non-empty |
| Exploit ScenarioDerived | A registered Discourse user constructs a URL pointing to a redirect service that forwards to a blocked domain with mixed-case hostname characters (e.g., a redirect to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 10, 2026
Onebox domain blocklist bypass in Discourse allows forum users to circumvent administrator-configured content restrictions by exploiting case-sensitive hostname comparison in Onebox::DomainChecker.is_blocked?. Versions prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0 are affected across all maintained release branches. An attacker with a forum account can post a link whose redirect target hostname uses mixed casing (e.g., BLOCKED-Domain.Com) to evade blocklist enforcement and cause Discourse to render a rich link preview of content the administrator intended to restrict. No public exploit has been identified and the vulnerability is absent from CISA KEV.
RemediationAI
Upgrade to the patched release corresponding to your installed branch: 2026.1.6, 2026.5.2, 2026.6.1, or 2026.7.0. Vendor-released patches are available via GitHub pull requests #42091-#42094 and commits a3e10759fef, c2eb6b0e559, caa615c371b, and f503971d311 in the official Discourse repository. The security advisory is at https://github.com/discourse/discourse/security/advisories/GHSA-3x7x-24rq-h5j6. If immediate patching is not possible, administrators can disable the Onebox feature entirely via enable_onebox: false in site settings, which eliminates link preview rendering but removes all rich preview functionality as a trade-off. A weaker partial mitigation is to ensure all entries in SiteSetting.blocked_onebox_domains are lowercase, which reduces but does not eliminate the bypass surface since redirect chains may still introduce unexpected casing.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Discourse is a Ruby on Rails open-source discussion platform featuring Onebox, a subsystem that fetches and renders rich link previews for posted URLs. The vulnerable method, Onebox::DomainChecker.is_blocked?, compares redirect target hostnames against the administrator-configured SiteSetting.blocked_onebox_domains allowlist using case-sensitive Ruby string comparison. CWE-178 (Improper Handling of Case Sensitivity) is the root cause class: DNS resolution is case-insensitive per RFC 4343, meaning BLOCKED-DOMAIN.COM and blocked-domain.com resolve to identical hosts, but Ruby's default string equality (==) treats them as distinct. The affected CPE is cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*, covering the full Discourse product across all tracked branches prior to the patched releases.
Know when Discourse gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Posting links on Discourse requires a registered account in standard deployments, making PR:L more accurate than the official PR:N; no integrity or availability impact applies.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Discourse versions prior to 3.5.0.beta6 contain a reflected cross-site scripting (XSS) vulnerability in social login fun
discourse-bbcode is the official BBCode plugin for Discourse. Rated critical severity (CVSS 9.8), this vulnerability is
Unauthorized information disclosure in Discourse discussion platform versions prior to 2026.3.0-latest.1, 2026.2.1, and
Discourse is an open source platform for community discussion. Rated high severity (CVSS 8.2), this vulnerability is rem
Discourse versions prior to 2025.12.2, 2026.1.1, and 2026.2.0 contain an insecure direct object reference (IDOR) in the
In Discourse 2.7.0 through beta1, a rate-limit bypass leads to a bypass of the 2FA requirement for certain forms. Rated
Unauthenticated attackers can submit forged webhook payloads to multiple email provider integrations in Discourse versio
Discourse is an open-source discussion platform. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploi
Discourse is an open source platform for community discussion. Rated medium severity (CVSS 5.9), this vulnerability is r
Discourse versions prior to 3.4.4 (stable), 3.5.0.beta5 (beta), and 3.5.0.beta6-dev (tests-passed) contain a critical vu
Discourse is an open source platform for community discussion. Rated critical severity (CVSS 9.8), this vulnerability is
Discourse Patreon enables syncronization between Discourse Groups and Patreon rewards. Rated critical severity (CVSS 9.8
EUVD-2026-55657
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB