# CVE-2021-43794: Anonymous user cache poisoning via development-mode header in Discourse

- 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:N/I:N/A:L`
- 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.05%, higher than 65% of CVEs (2026-12-01)
- Published: 2021-12-01T19:40:10.000Z
- Modified: 2026-09-08T08:46:01.140Z
- Also known as: BIT-DISCOURSE-2021-43794, GHSA-249g-pc77-65hp
- Weaknesses: CWE-610
- Assigned by: GitHub_M

## Description

Discourse is an open source discussion platform. In affected versions an attacker can poison the cache for anonymous (i.e. not logged in) users, such that the users are shown a JSON blob instead of the HTML page. This can lead to a partial denial-of-service. This issue is patched in the latest stable, beta and tests-passed versions of Discourse.

(As written by CVE List.)

## Affected

- discourse discourse: stable < 2.7.11; beta < 2.8.0.beta9; tests-passed < 2.8.0.beta9; before 2.7.11
- discourse (Bitnami): before 2.7.11

## Every score

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

## References

- <https://github.com/discourse/discourse/commit/2da0001965c6d8632d723c46ea5df9f22a1a23f1> (advisory, patch, third-party-advisory)
- <https://github.com/discourse/discourse/security/advisories/GHSA-249g-pc77-65hp> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-43794> (web)

## Sources

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

---

Page: https://cve.day/CVE-2021-43794 · Whole record: https://cve.day/CVE-2021-43794.json · Rebuilt by cve.day 2026-11-25T22:24:36.134Z
