# CVE-2022-31182: Cache poisoning via maliciously-formed request 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): 0.82%, higher than 58% of CVEs (2026-12-01)
- Published: 2022-08-01T19:40:10.000Z
- Modified: 2026-09-08T08:46:05.310Z
- Also known as: BIT-DISCOURSE-2022-31182, GHSA-4ff8-3j78-w6pp
- Weaknesses: CWE-404
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Discourse is the an open source discussion platform. In affected versions a maliciously crafted request for static assets could cause error responses to be cached by Discourse's default NGINX proxy configuration. A corrected NGINX configuration is included in the latest stable, beta and tests-passed versions of Discourse. Users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- discourse discourse: < 2.8.7; < 2.9.0.beta8; before 2.8.7; 2.9.0
- discourse (Bitnami): before 2.8.7

## 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:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-4ff8-3j78-w6pp> (advisory, third-party-advisory)
- <https://github.com/discourse/discourse/commit/7af25544c3940c4d046c51f4cfac9c72a06d4f50> (advisory, patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31182> (web)

## Sources

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

---

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