CVE-2025-46813
MediumCVSS 5.8Exploitation Probability (EPSS)
Low risk40th percentile - higher than 40% of all known CVEs
Summary
Discourse has a data leak vulnerability affecting login-required sites deployed between specific commits. Unauthenticated users could see some private content on the homepage. Only sites deployed roughly between April 30 and May 2, 2025 are affected; stable branch is unaffected.
Risk Assessment
Private content on the homepage may be exposed to unauthenticated users, breaching confidentiality and potentially leaking internal information.
Recommendation
Upgrade Discourse to a non-vulnerable version (after the specified commit). No workarounds are available; upgrading is required.
Other vulnerabilities in Discourse
See all- CVE-2026-55674Critical
Prior to versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0 in Discourse, an unauthenticated attacker could send a single request with a crafted color_scheme_id (or dark_scheme_id) cookie to inject arbitrary HTML into a Discourse page. Because the cookie value was rendered into a color scheme tag without escaping, the attacker could break out of the attribute and inject a tag that bypassed Discourse's nonce-based Content Security Policy, resulting in arbitrary JavaScript execution in visitors' browsers.
- CVE-2025-53102Critical
Discourse is an open-source community discussion platform. Prior to version 3.4.7 on the stable branch and 3.5.0.beta.8 on the tests-passed branch, upon issuing a physical security key for 2FA, the server generates a WebAuthn challenge which the client signs. The challenge is not cleared from the user's session after authentication, potentially allowing reuse and increasing security risk. Fixed in versions 3.4.7 and 3.5.0.beta.8.
- CVE-2025-48877Critical
In Discourse prior to 3.4.4 (stable), 3.5.0.beta5 (beta), and 3.5.0.beta6-dev (tests-passed), Codepen is present in the default allowed_iframes site setting and can potentially auto-run arbitrary JS in the iframe scope, which is unintended.
- CVE-2026-144512Low
A flaw was found in Discourse up to 2026.9.0 in the TopicConverter#convert_to_private_message function of app/models/topic_converter.rb, related to page publishing. Manipulation of this function causes improper access controls. The attack may be initiated remotely and the exploit has been published and may be used.
- CVE-2026-144511Low
A vulnerability was detected in Discourse up to 2026.12.0 in the Create function of app/controllers/reviewable_claimed_topics_controller.rb. Manipulation of the automatic argument results in improper access controls. The attack can be launched remotely and the exploit is now public and may be used.
- CVE-2026-144510High
A vulnerability was detected in Discourse up to 2026.10.1 in the UserCreator.assign_signup_fields function of lib/user_creator.rb, which handles custom user fields during signup. Manipulation of the user_fields argument leads to dynamically-determined object attributes. The attack can be initiated remotely and a public exploit is available.
- CVE-2017-20290Medium
Discourse 1.9.0.beta2 before 1.9.0.beta13 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject scripts through the email parameter of /email/unsubscribed. Attackers can craft GET requests with SVG onload payloads, which unsubscribed.html.erb renders unescaped via html_safe, executing JavaScript in victims' browsers.
- CVE-2026-91159High
Discourse is an open-source discussion platform. Prior to 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9, oEmbed processing treated an entire attacker-controlled HTML fragment as trusted when the fragment contained an iframe whose source matched the configured allowlist. A user with posting permission who controlled a public webpage and its oEmbed response could combine an allowlisted iframe with unrelated sibling HTML or CSS, causing stored visual overlays or other styled content to appear in post content and enabling misleading or fraudulent user interfaces. Exploitation requires a posting account, control of the fetched webpage and oEmbed response, and an allowlisted iframe source. The issue affects content integrity but does not expose restricted data, disrupt availability, or require interaction with Discourse Content Security Policy. This issue is fixed in versions 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9.
- CVE-2026-91157High
Discourse is an open-source discussion platform. Prior to 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9, sites with secure uploads enabled did not reconcile existing upload security metadata when a previously public category became read-restricted or when category permissions changed during a bulk import. Media and attachments uploaded while the category was public retained a public accessibility flag and remained reachable by anonymous users through their short upload URLs, including uploads associated with deleted topics. This issue is fixed in versions 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9.
- CVE-2026-91156High
Discourse is an open-source discussion platform. Prior to 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9, MessageBus audience calculation could deliver messages from a read-restricted category chat channel to an authenticated user who could view the category but was not allowed to use Chat under the site's group restrictions. The publication path bounded events by category visibility without also enforcing Chat eligibility, exposing live and recent message content available in the MessageBus backlog. The issue does not permit retrieval of the channel's full history through the Chat API and does not permit message creation or modification. This issue is fixed in versions 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9.
Original NVD description (English source)
Discourse is an open-source community platform. A data leak vulnerability affects sites deployed between commits 10df7fdee060d44accdee7679d66d778d1136510 and 82d84af6b0efbd9fa2aeec3e91ce7be1a768511b. On login-required sites, the leak meant that some content on the site's homepage could be visible to unauthenticated users. Only login-required sites that got deployed during this timeframe are affected, roughly between April 30 2025 noon EDT and May 2 2025, noon EDT. Sites on the stable branch are unaffected. Private content on an instance's homepage could be visible to unauthenticated users on login-required sites. Versions of 3.5.0.beta4 after commit 82d84af6b0efbd9fa2aeec3e91ce7be1a768511b are not vulnerable to the issue. No workarounds are available. Sites must upgrade to a non-vulnerable version of Discourse.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

