SEVERITY AND EXPLOITATION CONTEXT

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

Review published vectors, EPSS probability and CISA KEV status independently.

Lookup reads saved CVE and CISA snapshots from this site and requests EPSS from FIRST. The CVE source is contacted when a saved record is unavailable or you request a refresh. External providers receive your IP address. Finding notes and saved assessments are not sent by this feature.

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

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.

Published CVE snapshot: 2026-10-22. Record last updated: 2025-01-15T14:54:42.790Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.

View the CVE Program source record

GitHub_M · CVSS 3.1: 9.0 Critical

Calculated from the published vector. Base score: 9.0. Provider-reported Base score: 9.1.

Vector and metric explanationsCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
MetricValueMeaning
Attack vector (AV)NReachable across a network boundary, including internet or routed network paths.
Attack complexity (AC)LExploitation does not depend on special conditions beyond the attacker’s control.
Privileges required (PR)LThe attacker needs basic user capabilities before exploitation.
User interaction (UI)RA user other than the attacker must take an action for exploitation to succeed.
Scope (S)CConsequences extend to resources managed by a different security authority.
Confidentiality (C)HAll information is disclosed, or a limited disclosure has a direct, serious confidentiality consequence.
Integrity (I)HIntegrity is completely lost, or modification has a direct, serious consequence.
Availability (A)HAvailability is completely lost, or the disruption has a direct, serious consequence.

These definitions explain provider selections; they do not independently verify exploitation.

Review vector in calculator

Affected products reported by the provider

  • discourse · discourse-ai

Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.

Source references (2)

Interpret severity and exploitation separately

CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.

Browse CVEs from 2024 · All published CVEs · Calculation methodology