XSS in Discourse Discourse-Ai
CVE-2024-54142
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (34.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 34th percentile — 34.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Discourse Discourse-Ai — versions < 92f122c
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-54142?
- CVE-2024-54142 is a critical-severity vulnerability in Discourse Discourse-Ai, classified under Cross-site Scripting. CVSS score: 9.0/10. Published 2025-01-14.
- How severe is CVE-2024-54142?
- Critical severity. CVSS v3 base score is 9.0 out of 10.