Medium severity · published Oct 1, 2025
CVE-2025-58055
Discourse AI Suggestions Contain Insecure Direct Object Reference
4.3
CVSS
0.3%
EPSS
No
On KEV
Description
Discourse is an open-source community discussion platform. In versions 3.5.0 and below, the Discourse AI suggestion endpoints for topic “Title”, “Category”, and “Tags” allowed authenticated users to extract information about topics that they weren’t authorized to access. By modifying the “topic_id” value in API requests to the AI suggestion endpoints, users could target specific restricted topics. The AI model’s responses then disclosed information that the authenticated user couldn’t normally access. This issue is fixed in version 3.5.1. To workaround this issue, users can restrict group access to the AI helper feature through the "composer_ai_helper_allowed_groups" and "post_ai_helper_allowed_groups" site settings.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 18% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DI
discourse · discourse
< 3.5.1 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-58055
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-58055
Patch
https://github.com/discourse/discourse/commit/28d569cae9b33cd55d647bf41806106e33d975c9
Vendor Advisory
https://github.com/discourse/discourse/security/advisories/GHSA-32v2-x274-vfhr
www.vicarius.io
https://www.vicarius.io/vsociety/posts/cve-2025-58055-detect-discourse-vulnerability
www.vicarius.io
https://www.vicarius.io/vsociety/posts/cve-2025-58055-mitigate-discourse-vulnerability
More from discourse
9.9
CVE-2025-68662
FinalDestination hostname matching allows SSRF protection bypass
9.8
CVE-2025-53102
Discourse's WebAuthn challenge isn't cleared from user session after authentication
9.8
CVE-2025-48877
Discourse vulnerable to auto-executing of third-party code in embedded CodePen iframe
9.8
CVE-2023-47121
Discourse is an open source platform for community discussion
9.8
CVE-2021-41163
Discourse is an open source platform for community discussion
