CVE-2026-72730

Discourse: Stored XSS chat-transcript username unescaped in Rich Text Editor

Published Aug 10, 2026 CVSS 3.1 · 8.7 High EPSS < 1% KEV · Not listed
Description
Discourse is an open-source discussion platform. Prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0, the Rich Text Editor rendered a chat-transcript username as HTML, allowing stored cross-site scripting. This issue is fixed in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.

Analysis

AI-generated

Technical impact

This vulnerability allows malicious users to embed arbitrary JavaScript within a chat-transcript username that is then rendered as HTML by Discourse's Rich Text Editor. The stored XSS flaw can execute in the browser of any user who views the affected chat transcript, leading to session hijacking, data theft, or defacement. The weakness is a classic input validation flaw described as CWE‑79.

Affected Systems

Discourse installations using the open-source platform before version 2026.1.6, 2026.5.2, 2026.6.1, or 2026.7.0 are affected. Updating to any of these patched releases removes the vulnerability.

Risk and Exploitability

The CVSS score of 8.7 reflects high severity. EPSS is unavailable, but the flaw can be exploited remotely through the web interface, as a malicious user can inject code that persists in stored data. The vulnerability is not listed in CISA KEV, but it is still technically exploitable as a web-based stored XSS incident.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Discourse to version 2026.1.6, 2026.5.2, 2026.6.1, or 2026.7.0 to apply the patch that sanitizes chat‑transcript usernames
  • Verify that the Rich Text Editor renders usernames without unescaped HTML after the upgrade
  • If an immediate upgrade is not possible, temporarily disable the chat‑transcript feature or enforce strict sanitization of usernames to prevent script execution

Generated by OpenCVE AI on August 10, 2026 at 17:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Discourse
Discourse discourse
Vendors & Products Discourse
Discourse discourse
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Discourse is an open-source discussion platform. Prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0, the Rich Text Editor rendered a chat-transcript username as HTML, allowing stored cross-site scripting. This issue is fixed in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.
Title Discourse: Stored XSS chat-transcript username unescaped in Rich Text Editor
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 10, 2026, 6:34 PM
Reserved
Aug 10, 2026, 1:48 PM
Status
Deferred
Published
Aug 10, 2026, 5:17 PM
Modified
Sep 8, 2026, 8:54 PM