Discourse Vulnerable to Stored XSS via Shared AI Conversation Onebox
Summary
Discourse Vulnerable to Stored XSS via Shared AI Conversation Onebox
Original description
The description as published by the source.
Discourse is an open-source discussion platform. Prior to versions 2026.3.0, 2026.2.1, and 2026.1.2, the onebox method in the SharedAiConversation model renders the conversation title directly into HTML without proper sanitization. Versions 2026.3.0, 2026.2.1, and 2026.1.2 contain a patch. As a workaround, tighten access by changing the ai_bot_public_sharing_allowed_groups site setting.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Affected packages
References
- advisory github.com
- patch github.com
- patch github.com
- patch github.com
- web nvd.nist.gov