Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2022-21678: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in discourse discourse

0
Medium
Published: Thu Jan 13 2022 (01/13/2022, 17:30:12 UTC)
Source: CVE
Vendor/Project: discourse
Product: discourse

Description

Discourse is an open source discussion platform. Prior to version 2.8.0.beta11 in the `tests-passed` branch, version 2.8.0.beta11 in the `beta` branch, and version 2.7.13 in the `stable` branch, the bios of users who made their profiles private were still visible in the `<meta>` tags on their users' pages. The problem is patched in `tests-passed` version 2.8.0.beta11, `beta` version 2.8.0.beta11, and `stable` version 2.7.13 of Discourse.

AI-Powered Analysis

AILast updated: 06/23/2025, 18:32:20 UTC

Technical Analysis

CVE-2022-21678 is a medium-severity vulnerability affecting Discourse, an open-source discussion platform widely used for online community forums and collaboration. The vulnerability pertains to an exposure of sensitive information (CWE-200) where user bios intended to be private were inadvertently exposed in the HTML <meta> tags on user profile pages. This issue affects Discourse versions prior to 2.7.13 in the stable branch and prior to 2.8.0.beta11 in the beta and tests-passed branches. Specifically, even when users set their profiles to private, their bios remained visible in the page metadata, which is accessible to any visitor or automated crawler without authentication or user interaction. This exposure could allow unauthorized actors to harvest personal or sensitive information about users, potentially leading to privacy violations or targeted social engineering attacks. The vulnerability was patched in Discourse versions 2.7.13 (stable) and 2.8.0.beta11 (beta and tests-passed branches). There are no known exploits in the wild, and the issue was publicly disclosed in January 2022. The root cause is a failure to properly restrict sensitive user data in the metadata rendering logic of user profile pages, resulting in unintended data leakage despite privacy settings. This vulnerability does not directly impact system integrity or availability but compromises confidentiality of user data. Exploitation requires no authentication or user interaction, making it trivially accessible to any visitor or automated tool scanning Discourse forums running vulnerable versions.

Potential Impact

For European organizations using Discourse as a community or collaboration platform, this vulnerability poses a privacy risk by exposing user bios that were intended to be private. This could lead to unauthorized disclosure of personal or sensitive information, potentially violating GDPR and other privacy regulations applicable in Europe. The exposure could facilitate targeted phishing or social engineering attacks against users, undermining trust in the platform and the organization. While the vulnerability does not affect system availability or integrity, the confidentiality breach could damage organizational reputation and lead to regulatory penalties if personal data is mishandled. Organizations operating forums with sensitive user communities, such as healthcare, finance, or governmental sectors, may face heightened risks. Additionally, the ease of access to this data without authentication increases the likelihood of automated data harvesting by malicious actors. Given the widespread use of Discourse in European tech, academic, and public sectors, the impact is non-negligible but limited to information disclosure rather than system compromise.

Mitigation Recommendations

1. Immediate upgrade of Discourse installations to version 2.7.13 (stable) or 2.8.0.beta11 (beta/tests-passed) or later, where the vulnerability is patched. 2. Review and audit user profile privacy settings and metadata rendering configurations to ensure no sensitive information is exposed inadvertently. 3. Implement web application firewall (WAF) rules to monitor and potentially block suspicious automated scraping of user profile pages. 4. Conduct user awareness campaigns to inform users about the privacy settings and encourage minimal sharing of sensitive information in bios. 5. For organizations unable to upgrade immediately, consider temporarily disabling user bios or restricting profile page access via authentication or IP whitelisting. 6. Monitor public forums and threat intelligence sources for any emerging exploits or scanning activity targeting Discourse instances. 7. Ensure compliance with GDPR by documenting the exposure incident and mitigation steps, and notify affected users if necessary. 8. Regularly review Discourse release notes and security advisories for timely patching of future vulnerabilities.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
GitHub_M
Date Reserved
2021-11-16T00:00:00.000Z
Cisa Enriched
true

Threat ID: 682d9842c4522896dcbf2297

Added to database: 5/21/2025, 9:09:22 AM

Last enriched: 6/23/2025, 6:32:20 PM

Last updated: 2/7/2026, 12:05:21 PM

Views: 33

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats