# CVE-2021-41271: Cache poisoning via maliciously-formed request in discourse

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/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): 0.97%, higher than 62% of CVEs (2026-12-02)
- Published: 2021-11-15T21:20:11.000Z
- Modified: 2026-09-08T08:46:01.394Z
- Also known as: BIT-DISCOURSE-2021-41271, GHSA-hf6r-mc9j-hf4p
- Weaknesses: CWE-200
- Assigned by: GitHub_M

## Description

Discourse is a platform for community discussion. In affected versions a maliciously crafted request could cause an error response to be cached by intermediate proxies. This could cause a loss of confidentiality for some content. This issue is patched in the latest stable, beta and tests-passed versions of Discourse.

(As written by CVE List.)

## Affected

- discourse discourse: < 2.7.10; >= 2.8.0, < 2.8.0.beta8; up to 2.7.9; 2.8.0
- discourse (Bitnami): up to 2.7.9

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- 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-hf6r-mc9j-hf4p> (advisory, third-party-advisory)
- <https://github.com/discourse/discourse/commit/2da0001965c6d8632d723c46ea5df9f22a1a23f1> (advisory, patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41271> (web)

## Sources

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

---

Page: https://cve.day/CVE-2021-41271 · Whole record: https://cve.day/CVE-2021-41271.json · Rebuilt by cve.day 2026-11-25T22:58:05.578Z
