Paper/Archive/CVE-2024-54142

CVE-2024-54142

discourse discourse-ai — Cross-site Scripting via Discourse-ai SharedAiConversation onebox in Discourse

Description · from the CVE record

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

ProductAffectedFixed inSource
discourse-ai< 92f122c–CNA

Scores by source

GitHub_M (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/discourse/discourse-ai/security/advisories/GHSA-94c2-qr2h-88jvrefgithub.com/discourse/discourse-ai/commit/92f122c54d9d7ead9223a056270bff5b4c42c73f