CVE-2026-32607

Discourse: Stored XSS via unescaped assignee name

Published Mar 31, 2026 CVSS 4.0 · 2.1 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
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'}

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Discourse
Discourse discourse
Vendors & Products Discourse
Discourse discourse
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 1, 2026, 1:48 PM
Reserved
Mar 12, 2026, 2:54 PM
Status
Analyzed
Published
Mar 31, 2026, 6:16 PM
Modified
Jul 24, 2026, 8:10 PM