Vulnerability · Published Aug 10, 2026 · Assigned by GitHub_M
CVE-2026-72721Discourse: Onebox Domain Blocklist Bypass via Case-Sensitive Comparison
Medium 5.3
In plain English
A medium-severity security flaw in discourse from discourse. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-178 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/discourse/discourse/security/advisories/GHSA-3x7x-24rq-h5j6 x_refsource_CONFIRM
- https://github.com/discourse/discourse/pull/42091 x_refsource_MISC
- https://github.com/discourse/discourse/pull/42092 x_refsource_MISC
- https://github.com/discourse/discourse/pull/42093 x_refsource_MISC
- https://github.com/discourse/discourse/pull/42094 x_refsource_MISC
- https://github.com/discourse/discourse/commit/a3e10759fef47f03d450649bb51d9e84f4c68b8f x_refsource_MISC
- https://github.com/discourse/discourse/commit/c2eb6b0e5597d6f28f4be739b83300bc9c69e3cd x_refsource_MISC
- https://github.com/discourse/discourse/commit/caa615c371b1696982ee11ac8f3558f0f8ced584 x_refsource_MISC
- https://github.com/discourse/discourse/commit/f503971d311b7b0dfdb751ee8cfd67e8cb99f5c5 x_refsource_MISC