Description
Discourse is an open-source discussion platform. From versions 2026.1.0-latest to before 2026.1.3, 2026.2.0-latest to before 2026.2.2, and 2026.3.0-latest to before 2026.3.0, when the hidden prioritize_full_name_in_ux site setting is enabled (defaults to false, requires console access to change), user and group display names are rendered without HTML escaping in several assignment-related UI paths. This allows users with assign permission to inject arbitrary HTML/JavaScript that executes in the browser of any user viewing an affected topic. This issue has been patched in versions 2026.1.3, 2026.2.2, and 2026.3.0.
Published: 2026-03-31
Score: 2.1 Low
EPSS: < 1% Very Low
KEV: No
Impact: Stored XSS (arbitrary front‑end code execution)
Action: Apply Patch
AI Analysis

Impact

Discourse, the open‑source forum platform, has a stored cross‑site scripting flaw that allows individuals with post‑assignment rights to inject malicious script into an assignee name. When the hidden configuration prioritize_full_name_in_ux is enabled, the site renders that name without escaping HTML in several assignment‑related user interfaces. A script embedded in the name is executed in the browsers of any user who views the affected topic, enabling actions such as session hijacking, data theft, or content defacement.

Affected Systems

The vulnerability affects Discourse releases 2026.1.0 through just before 2026.1.3, 2026.2.0 through just before 2026.2.2, and 2026.3.0 through just before the final 2026.3.0 build. It is present only when the hidden site setting prioritize_full_name_in_ux is set to true. The core application code is impacted; no third‑party plugins are required. The bug was fixed in releases 2026.1.3, 2026.2.2, 2026.3.0 and later.

Risk and Exploitability

Severity is low, reflected by a CVSS score of 2.1, and the likelihood of exploitation is very low (under one percent). The flaw is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires that an attacker has permission to assign a post and that the hidden setting is enabled. If those prerequisites are met, a victim who views the topic will have the injected script executed in their browser, potentially exposing credentials and personal data.

Generated by OpenCVE AI on April 9, 2026 at 21:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Discourse to version 2026.1.3 or later, 2026.2.2 or later, or 2026.3.0 or later.
  • Disable the hidden prioritize_full_name_in_ux setting if it can be turned off.
  • Restrict assign permissions to trusted users only until the patch is deployed.

Generated by OpenCVE AI on April 9, 2026 at 21:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 09 Apr 2026 19:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:discourse:discourse:*:*:*:*:latest:*:*:*
cpe:2.3:a:discourse:discourse:2026.3.0:*:*:*:latest.1:*:*:*
cpe:2.3:a:discourse:discourse:2026.3.0:*:*:*:latest:*:*:*
Metrics cvssV3_1

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


Wed, 01 Apr 2026 23:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 01 Apr 2026 02:15:00 +0000

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

Tue, 31 Mar 2026 18:00:00 +0000

Type Values Removed Values Added
Description Discourse is an open-source discussion platform. From versions 2026.1.0-latest to before 2026.1.3, 2026.2.0-latest to before 2026.2.2, and 2026.3.0-latest to before 2026.3.0, when the hidden prioritize_full_name_in_ux site setting is enabled (defaults to false, requires console access to change), user and group display names are rendered without HTML escaping in several assignment-related UI paths. This allows users with assign permission to inject arbitrary HTML/JavaScript that executes in the browser of any user viewing an affected topic. This issue has been patched in versions 2026.1.3, 2026.2.2, and 2026.3.0.
Title Discourse: Stored XSS via unescaped assignee name
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

Discourse Discourse
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-01T13:48:54.473Z

Reserved: 2026-03-12T14:54:24.270Z

Link: CVE-2026-32607

cve-icon Vulnrichment

Updated: 2026-04-01T13:48:51.348Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-31T18:16:50.060

Modified: 2026-04-09T19:43:13.933

Link: CVE-2026-32607

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-10T09:46:08Z

Weaknesses