CVE-2026-27570: Discourse Vulnerable to Stored XSS via Shared AI Conversation Onebox

Published Mar 19, 2026
·
Updated

Discourse is an open-source discussion platform. Prior to versions 2026.3.0-latest.1, 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-latest.1, 2026.2.1, and 2026.1.2 contain a patch. As a workaround, tighten access by changing the aibotpublicsharingallowedgroups site setting.

Affected Software

4 affected components
Discourse Discourse<2026.3.0-latest.1, <2026.2.1, <2026.1.2
Discourse Discourse>=2026.1.0<2026.1.2
Discourse Discourse>=2026.2.0<2026.2.1
Discourse Discourse=2026.3.0

Event History

Mar 19, 2026
CVE Published
via MITRE·08:52 PM
Data Sourced
via MITRE·08:52 PM
DescriptionWeakness
Data Sourced
via NVD·09:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-27570?

CVE-2026-27570 has a high severity due to the potential for stored cross-site scripting (XSS) attacks.

2

How do I fix CVE-2026-27570?

To fix CVE-2026-27570, upgrade to Discourse version 2026.3.0-latest.1, 2026.2.1, or 2026.1.2.

3

What versions of Discourse are affected by CVE-2026-27570?

CVE-2026-27570 affects versions of Discourse prior to 2026.3.0-latest.1, 2026.2.1, and 2026.1.2.

4

What type of vulnerability is CVE-2026-27570?

CVE-2026-27570 is a stored XSS vulnerability that affects the Shared AI Conversation component in Discourse.

5

Can CVE-2026-27570 be exploited remotely?

Yes, CVE-2026-27570 can be exploited remotely by attackers to execute malicious scripts in user browsers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203