CVE-2022-31182
CVE-2022-31182 is a medium-severity vulnerability in Discourse with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-404.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- EPSS exploit prediction: 1% (47th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-404
- Affected product: Discourse
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-31182?
- 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.
- How severe is CVE-2022-31182?
- CVE-2022-31182 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
- Is CVE-2022-31182 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (47th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-31182?
- CVE-2022-31182 primarily affects Discourse. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2022-31182?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2022-31182 published?
- CVE-2022-31182 was published on 2022-08-01 and last updated on 2026-06-17.
References
- https://github.com/discourse/discourse/commit/7af25544c3940c4d046c51f4cfac9c72a06d4f50
- https://github.com/discourse/discourse/security/advisories/GHSA-4ff8-3j78-w6pp
Affected products (2)
- cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*
- cpe:2.3:a:discourse:discourse:2.9.0:beta7:*:*:*:*:*:*
More vulnerabilities in Discourse
- CVE-2021-41163 — Critical (CVSS 10.0): Discourse is an open source platform for community discussion. In affected versions maliciously crafted requests could…
- CVE-2025-53102 — Critical (CVSS 9.8): Discourse is an open-source community discussion platform. Prior to version 3.4.7 on the `stable` branch and version…
- CVE-2025-48877 — Critical (CVSS 9.8): Discourse is an open-source discussion platform. Prior to version 3.4.4 of the `stable` branch, version 3.5.0.beta5 of…
- CVE-2022-36066 — Critical (CVSS 9.1): Discourse is an open source discussion platform. In versions prior to 2.8.9 on the `stable` branch and prior to…
- CVE-2022-39356 — High (CVSS 8.9): Discourse is a platform for community discussion. Users who receive an invitation link that is not scoped to a single…
- CVE-2023-22468 — High (CVSS 8.8): Discourse is an open source platform for community discussion. Versions prior to 2.8.13 (stable), 3.0.0.beta16 (beta)…
All CVEs affecting Discourse →
Other CWE-404 vulnerabilities
- CVE-2023-24444 — Critical (CVSS 9.8): Jenkins OpenID Plugin 2.4 and earlier does not invalidate the previous session on login.
- CVE-2024-31611 — Critical (CVSS 9.1): SeaCMS 12.9 has a file deletion vulnerability via admin_template.php.
- CVE-2018-8450 — High (CVSS 8.8): A remote code execution vulnerability exists when Windows Search handles objects in memory, aka "Windows Search Remote…
- CVE-2026-11317 — High (CVSS 8.7): A denial of service security issue exists in the affected product. The security issue stems from a fault occurring when…
- CVE-2022-25762 — High (CVSS 8.6): If a web application sends a WebSocket message concurrently with the WebSocket connection closing when running on…
- CVE-2020-26070 — High (CVSS 8.6): A vulnerability in the ingress packet processing function of Cisco IOS XR Software for Cisco ASR 9000 Series…