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, updating a category description via API is not sanitizing the description string, which can lead to XSS attacks. This issue has been patched in versions 2026.1.3, 2026.2.2, and 2026.3.0.
Published: 2026-03-31
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting
Action: Patch
AI Analysis

Impact

A vulnerability allows an attacker to submit an unfiltered string when updating a category description via the API, resulting in Cross‑Site Scripting. The flaw does not perform input sanitization, which means the website can render malicious JavaScript in the content area of category pages. This client‑side code execution can potentially manipulate page content or access browser cookies, but the CVE description only confirms the presence of XSS behavior without detailing specific downstream effects.

Affected Systems

The issue affects the Discourse discussion platform. Versions 2026.1.0 through the last build before 2026.1.3, 2026.2.0 through the last build before 2026.2.2, and 2026.3.0 through the last build before 2026.3.0 are vulnerable. The vulnerability was resolved in releases 2026.1.3, 2026.2.2, and 2026.3.0 for the respective versions.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity, and the EPSS score of less than 1 % suggests a low current probability of exploitation. The vulnerability is not listed in the CISA KEV catalog, implying no known large‑scale exploitation. Attackers would need to reach the API endpoint that updates category descriptions, which typically requires authenticated access. The likely attack vector, inferred from the use of the API, is an authenticated request from a privileged user or a misconfigured back‑end service that can post the unsanitized payload. Once the unsanitized content appears on the category page, any user who views that page may be exposed to the injected script.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Verify the current Discourse version installed
  • Upgrade to the latest patched release (2026.1.3 or later for the applicable series)
  • Confirm that category description updates via the API now sanitize the input
  • Restrict API access to trusted users and monitor category update privileges until the patch is applied
  • If upgrading is not immediately possible, block or disallow the category description update API endpoint to prevent unfiltered input

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:*:*:*

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 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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, updating a category description via API is not sanitizing the description string, which can lead to XSS attacks. This issue has been patched in versions 2026.1.3, 2026.2.2, and 2026.3.0.
Title Discourse: XSS on category description update via API
Weaknesses CWE-79
References
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'}


Subscriptions

Discourse Discourse
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-31T18:52:31.983Z

Reserved: 2026-03-11T15:05:48.400Z

Link: CVE-2026-32273

cve-icon Vulnrichment

Updated: 2026-03-31T18:50:14.798Z

cve-icon NVD

Status : Analyzed

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

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

Link: CVE-2026-32273

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses