# CVE-2022-31060: Banner topic data is exposed on login-required Discourse sites

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.11%, higher than 66% of CVEs (2026-12-01)
- Published: 2022-06-14T20:15:17.000Z
- Modified: 2026-09-08T08:46:08.409Z
- Also known as: BIT-DISCOURSE-2022-31060, GHSA-5f4f-35fx-gqhq
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Discourse is an open-source discussion platform. Prior to version 2.8.4 in the `stable` branch and version `2.9.0.beta5` in the `beta` and `tests-passed` branches, banner topic data is exposed on login-required sites. This issue is patched in version 2.8.4 in the `stable` branch and version `2.9.0.beta5` in the `beta` and `tests-passed` branches of Discourse. As a workaround, one may disable banners.

(As written by CVE List.)

## Affected

- discourse discourse: stable < 2.8.4; beta <= 2.9.0.beta4; tests-passed <= 2.9.0.beta4; before 2.8.4; 2.9.0
- discourse (Bitnami): before 2.8.4

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-5f4f-35fx-gqhq> (advisory, third-party-advisory)
- <https://github.com/discourse/discourse/pull/17071> (advisory, patch, third-party-advisory)
- <https://github.com/discourse/discourse/commit/ae6a9079436fb9b20fd051d25fb6d8027f0ec59a> (advisory, patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31060> (web)

## Sources

- CVE List: [CVE-2022-31060](https://www.cve.org/CVERecord?id=CVE-2022-31060), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-31060](https://nvd.nist.gov/vuln/detail/CVE-2022-31060), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2022-31060](https://osv.dev/vulnerability/BIT-DISCOURSE-2022-31060), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-31060 · Whole record: https://cve.day/CVE-2022-31060.json · Rebuilt by cve.day 2026-11-25T22:58:12.324Z
