CVE-2025-23023
JSON

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 packageVersionsReported by
discourse discoursestable: < 3.3.2, tests-passed: < 3.4.0.beta3, before 3.3.2CVE List, NVD
discourse (Bitnami)before 3.3.2Bitnami Vulnerability Database

All scores

GitHub_M8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Bitnami Vulnerability Databasehigh rating

Classification

CWE-346

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

Sources

SourceRecordLicence
CVE ListCVE-2025-23023 changed 2025-02-12CVE Terms of Use
NVDCVE-2025-23023 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2025-23023 changed 2026-09-08Apache-2.0