Cross-site scripting in Discourse - CVE-2026-32243

 

Cross-site scripting in Discourse - CVE-2026-32243

Published: July 1, 2026


Vulnerability identifier: #VU136151
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2026-32243
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary script code in the victim's browser.

The vulnerability exists due to cross-site scripting in the discourse-ai shared conversations onebox preview when rendering crafted conversation titles. A remote user can create a shared AI conversation with a specially crafted title to execute arbitrary script code in the victim's browser.

This may allow session hijacking or unauthorized actions on behalf of the victim.


Affected software

Discourse

How to mitigate CVE-2026-32243

Install security update from vendor's website.

Discourse - addressed in versions 2026.1.3, 2026.2.2, 2026.3.0

External References

Related Security Bulletins