CVE-2026-32273

Discourse: XSS on category description update via API

Published Mar 31, 2026 CVSS 3.1 · 5.4 Medium 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, 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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 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:*:*:*
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': 'partial'}, 'version': '2.0.3'}

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 31, 2026, 6:52 PM
Reserved
Mar 11, 2026, 3:05 PM
Status
Analyzed
Published
Mar 31, 2026, 6:16 PM
Modified
Jul 24, 2026, 8:10 PM