8.2high
Anonymous cache poisoning via request headers in Discourse
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-DISCOURSE-2025-23023GHSA-5h4h-2f46-r3c7
Description
Discourse is an open source platform for community discussion. In affected versions an attacker can carefully craft a request with the right request headers to poison the anonymous cache (for example, the cache may have a response with missing preloaded data). This issue only affects anonymous visitors of the site. This problem has been patched in the latest version of Discourse. Users are advised to upgrade. Users unable to upgrade may disable anonymous cache by setting the `DISCOURSE_DISABLE_ANON_CACHE` environment variable to a non-empty value.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| discourse discourse | stable: < 3.3.2, tests-passed: < 3.4.0.beta3, before 3.3.2 | CVE List, NVD |
| discourse (Bitnami) | before 3.3.2 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Discourse is an open source platform for community discussion. In affected versions an attacker can carefully craft a request with the right request headers to poison the anonymous cache (for example, the cache may have a response with missing preloaded data). This issue only affects anonymous visitors of the site. This problem has been patched in the latest version of Discourse. Users are advised to upgrade. Users unable to upgrade may disable anonymous cache by setting the `DISCOURSE_DISABLE_ANON_CACHE` environment variable to a non-empty value.
NVD (es)
Discourse es una plataforma de código abierto para debates comunitarios. En las versiones afectadas, un atacante puede manipule cuidadosamente una solicitud con los encabezados de solicitud correctos para envenenar la caché anónima (por ejemplo, la caché puede tener una respuesta con datos precargados faltantes). Este problema solo afecta a los visitantes anónimos del sitio. Este problema se ha corregido en la última versión de Discourse. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar pueden desactivar la caché anónima configurando la variable de entorno `DISCOURSE_DISABLE_ANON_CACHE` con un valor que no esté vacío.
References
| https://github.com/discourse/discourse/security/advisories/GHSA-5h4h-2f46-r3c7 | advisory, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-23023 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-23023 changed 2025-02-12 | CVE Terms of Use |
| NVD | CVE-2025-23023 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DISCOURSE-2025-23023 changed 2026-09-08 | Apache-2.0 |