CVE-2024-54142: Cross-site Scripting via Discourse-ai SharedAiConversation onebox in Discourse

Published Jan 14, 2025
·
Updated

Discourse AI is a Discourse plugin which provides a number of AI features. When sharing Discourse AI Bot conversations into posts, if the conversation had HTML entities those could leak into the Discourse application when a user visited a post with a onebox to said conversation. This issue has been addressed in commit 92f122c. Users are advised to update. Users unable to update may remove all groups from ai bot public sharing allowed groups site setting.

Affected Software

2 affected components
Discourse Discourse AI
Discourse Discourse

Event History

Jan 14, 2025
CVE Published
via MITRE·10:39 PM
Data Sourced
via MITRE·10:39 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-54142?

The severity of CVE-2024-54142 is classified as medium, posing a risk of HTML entity leakage into the Discourse application.

2

How do I fix CVE-2024-54142?

To fix CVE-2024-54142, update to the latest version of the Discourse AI plugin that addresses this vulnerability.

3

Which versions of Discourse are affected by CVE-2024-54142?

CVE-2024-54142 affects all versions of Discourse that have the Discourse AI plugin installed.

4

What kind of data can be leaked due to CVE-2024-54142?

CVE-2024-54142 can lead to HTML entities from conversations leaking into posts when shared, affecting how content is rendered.

5

Can CVE-2024-54142 be exploited remotely?

Yes, CVE-2024-54142 can potentially be exploited remotely by users who have access to view posts with embedded oneboxes.

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