CVE-2026-72721

Discourse: Onebox Domain Blocklist Bypass via Case-Sensitive Comparison

State
Published
Severity
5.3 Medium
Published
Aug 10, 2026
Updated
Aug 10, 2026
Reserved
Aug 10, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-178 Improper Handling of Case Sensitivity

Affected Products

ProductVersions
discoursediscourse
  • < 2026.1.6Affected
  • >= 2026.5.0-latest, < 2026.5.2Affected
  • >= 2026.6.0-latest, < 2026.6.1Affected
  • >= 2026.7.0-latest, < 2026.7.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.