Description
Discourse is an open-source discussion platform. Prior to 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0, the video placeholder component allowed crafted HTML to cause an attribute breakout and inject an attacker-controlled event handler. An authenticated user with default trust-level posting privileges could store the crafted placeholder in a post. When another user opened the post and clicked the video play overlay, the handler could execute arbitrary JavaScript in the viewer's session. Default Content Security Policy settings block inline event handlers, but instances with CSP disabled or relaxed could allow the script to read page content and make authenticated requests as the viewer. This issue is fixed in versions 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0.
Published: 2026-09-24
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution via XSS video placeholder
Action: Immediate Patch
AI Analysis

Impact

An authenticated user with default trust-level posting privileges can embed a crafted HTML video placeholder that causes an attribute breakout, injecting a malicious event handler into the placeholder. When a victim clicks the video overlay, the handler runs arbitrary JavaScript in the viewer’s session, enabling the attacker to read page content and perform authenticated requests. This is an uncontrolled script execution flaw (CWE‑79) that can compromise confidentiality and integrity of a user’s session.

Affected Systems

Discourse discussion platform versions released prior to 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0 are vulnerable. The issue occurs when users with default posting privileges record the problematic placeholder in a post. All standard Discourse installations using these releases are affected unless security hardening measures intervene.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. EPSS is not available, but the flaw is not listed in CISA KEV, suggesting it is not widely exploited yet. The likely attack path requires an authenticated attacker to publish the malformed placeholder and a victim to view and interact with the post; the vulnerability is local to the visitor’s browser. The CVE does not indicate a remote exploitation vector, so the threat is constrained to users who open the affected content.

Generated by OpenCVE AI on September 25, 2026 at 06:46 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to version 2026.1.8 or later (2026.6.3, 2026.7.2, 2026.8.0) which removes the attribute‑breakout bug
  • Ensure Content Security Policy is enabled and not disabled or overly relaxed so that inline event handlers are blocked
  • Restrict posting privileges for users below the default trust level or limit the use of video placeholders until a patch is applied

Generated by OpenCVE AI on September 25, 2026 at 06:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 24 Sep 2026 19:30:00 +0000

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

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 24 Sep 2026 17:00:00 +0000

Type Values Removed Values Added
Description Discourse is an open-source discussion platform. Prior to 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0, the video placeholder component allowed crafted HTML to cause an attribute breakout and inject an attacker-controlled event handler. An authenticated user with default trust-level posting privileges could store the crafted placeholder in a post. When another user opened the post and clicked the video play overlay, the handler could execute arbitrary JavaScript in the viewer's session. Default Content Security Policy settings block inline event handlers, but instances with CSP disabled or relaxed could allow the script to read page content and make authenticated requests as the viewer. This issue is fixed in versions 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0.
Title Discourse: Chat MessageBus delivers read-restricted messages to unauthorized users
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

Discourse Discourse
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-24T17:25:54.573Z

Reserved: 2026-09-14T19:36:48.843Z

Link: CVE-2026-91122

cve-icon Vulnrichment

Updated: 2026-09-24T17:25:45.637Z

cve-icon NVD

Status : Deferred

Published: 2026-09-24T17:17:08.393

Modified: 2026-09-24T18:19:06.763

Link: CVE-2026-91122

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T07:00:03Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')