---
id: CVE-2026-32243
title: Discourse is an open-source discussion platform
summary: >-
  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, an attacker with the ability to create shared AI
  conversations…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: discourse
product: discourse
affected:
  - 'discourse >= 2026.1.0, < 2026.1.3'
  - 'discourse >= 2026.2.0, < 2026.2.2'
  - discourse = 2026.3.0
patched:
  - discourse 2026.2.2
published: '2026-03-31'
updated: '2026-07-24'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-32243'
references:
  - url: >-
      https://github.com/discourse/discourse/commit/cac7d618a562ce934f8dbf73cdb70066a4806b4c
    label: security-advisories@github.com
  - url: >-
      https://github.com/discourse/discourse/security/advisories/GHSA-pjc5-8x3w-rfwx
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00169
epssPercentile: 0.06615
ingestedAt: '2026-07-24T20:38:03.337Z'
---

## Overview

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, an attacker with the ability to create shared AI conversations could inject arbitrary HTML and JavaScript via crafted conversation titles. This payload would execute in the browser of any user viewing the onebox preview, potentially allowing session hijacking or unauthorized actions on behalf of the victim. This issue has been patched in versions 2026.1.3, 2026.2.2, and 2026.3.0.

## Affected

- `discourse >= 2026.1.0, < 2026.1.3`
- `discourse >= 2026.2.0, < 2026.2.2`
- `discourse = 2026.3.0`

## Remediation

Upgrade past the affected range:

- `discourse 2026.2.2`
