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

9.1 CVSS

Description

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.

Classification

CVE ID: CVE-2024-54142

CVSS Base Severity: CRITICAL

CVSS Base Score: 9.1

Affected Products

Vendor: discourse

Product: discourse-ai

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.48% (scored less or equal to compared to others)

EPSS Date: 2025-02-12 (when was this score calculated)

References

https://github.com/discourse/discourse-ai/security/advisories/GHSA-94c2-qr2h-88jv
https://github.com/discourse/discourse-ai/commit/92f122c54d9d7ead9223a056270bff5b4c42c73f

Timeline