CVE-2026-91122: Discourse: Chat MessageBus delivers read-restricted messages to unauthorized users

Published Sep 24, 2026
·
Updated

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.

Affected Software

1 affected component
Discourse Discourse<2026.1.8, <2026.6.3, <2026.7.2, <2026.8.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Discourse to a version that resolves this vulnerability.

    Fixed in 2026.1.8
  2. Upgrade

    Upgrade Discourse to a version that resolves this vulnerability.

    Fixed in 2026.6.3
  3. Upgrade

    Upgrade Discourse to a version that resolves this vulnerability.

    Fixed in 2026.7.2
  4. Upgrade

    Upgrade Discourse to a version that resolves this vulnerability.

    Fixed in 2026.8.0

Event History

Sep 24, 2026
CVE Published
via MITRE·04:56 PM
Data Sourced
via MITRE·04:56 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are realistically exposed to script execution?

Instances with Content Security Policy disabled or relaxed are exposed to arbitrary JavaScript execution in a viewer's session. Default CSP settings block inline event handlers, which prevents the described handler from running.

2

What does an attacker need to exploit this issue?

The attacker needs an authenticated Discourse account with default trust-level posting privileges. They must create a post containing a crafted video placeholder, and a victim must open that post and click its video play overlay.

3

What can be done if an upgrade cannot be applied immediately?

Ensure that Content Security Policy remains enabled and does not permit inline event handlers. This blocks the event-handler execution path described for the crafted placeholder.

4

Which versions contain the fix?

The issue is fixed in Discourse versions 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0. Versions prior to those releases are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203