Critical severity · published Jan 14, 2025
CVE-2024-54142
Cross-site Scripting via Discourse-ai SharedAiConversation onebox in Discourse
9.0
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DI
discourse-ai · discourse
< 92f122c · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-54142
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-54142
github.com
https://github.com/discourse/discourse-ai/commit/92f122c54d9d7ead9223a056270bff5b4c42c73f
github.com
https://github.com/discourse/discourse-ai/security/advisories/GHSA-94c2-qr2h-88jv
More from discourse-ai
7.2
CVE-2024-23654
discourse-ai admin-initiated SSRF when interacting with AI services
