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

 

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

Published: July 1, 2026


Vulnerability identifier: #VU136158
CSH Severity: Low
CVSS v4.0: 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/E:U/U:Clear
CVE-ID: CVE-2026-27570
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Civilized Discourse Construction Kit, Inc.
Affected software:
Discourse

Detailed vulnerability description

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

The vulnerability exists due to cross-site scripting in the SharedAiConversation onebox method when rendering a shared AI conversation title into HTML. A remote user can create a shared AI conversation with a crafted title to execute arbitrary script code in a victim's browser.


How to mitigate CVE-2026-27570

Install security update from vendor's website.

Sources