Security Resilience

CVE-2025-23023

Discourse ≤ 3.3.2

Published
04 February 2025
Modified
26 August 2025
CVSS Score v3.1 8.2
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
EPSS Score 0.0027 19th percentile
Risk Priority 60 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-23023 is a high-severity Origin Validation Error (CWE-346) vulnerability in Discourse. Its CVSS base score is 8.2 (High).

Operationally, ranked at the 19th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-4 (Information Flow Enforcement) and IA-3 (Device Identification and Authentication) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-23023 is a cache poisoning vulnerability in Discourse, an open source platform for community discussion. In affected versions, an attacker can craft a request with specific headers to poison the anonymous cache, potentially resulting in cached responses lacking preloaded data. This flaw specifically impacts anonymous visitors to the site and is classified under CWE-346, with a CVSS v3.1 base score of 8.2 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L), indicating high severity due to network accessibility, low attack complexity, and significant integrity impact.

Unauthenticated attackers (PR:N) can exploit this vulnerability remotely over the network without user interaction by sending a maliciously crafted request that manipulates cache headers. Successful exploitation poisons the anonymous cache, leading to integrity violations such as serving incomplete or altered responses to subsequent anonymous users, though it causes only low availability impact and no confidentiality loss.

The Discourse security advisory recommends upgrading to the latest patched version to mitigate the issue. For users unable to upgrade immediately, disabling the anonymous cache by setting the `DISCOURSE_DISABLE_ANON_CACHE` environment variable to a non-empty value serves as a workaround. Additional details are available in the GitHub Security Advisory at https://github.com/discourse/discourse/security/advisories/GHSA-5h4h-2f46-r3c7.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-55948Same product: Discourse Discourse
CVE-2026-33410Same product: Discourse Discourse
CVE-2023-30606Same product: Discourse Discourse
CVE-2024-37157Same product: Discourse Discourse
CVE-2025-46813Same product: Discourse Discourse
CVE-2023-49099Same product: Discourse Discourse
CVE-2026-27153Same product: Discourse Discourse
CVE-2026-27149Same product: Discourse Discourse
CVE-2026-44782Same product: Discourse Discourse
CVE-2023-23615Same product: Discourse Discourse

Affected Assets

discourse
discourse
≤ 3.3.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Information flow enforcement directly requires validating the source of data before allowing transmission or receipt.

Device identification and authentication mandates verifying the source before establishing connections.

Session authenticity mechanisms require validation that communications originate from the expected party.

Boundary protection at interfaces enforces checks on the origin of incoming communications.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

prevents

Secure coding practices include implementing proper origin validation to prevent spoofing.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-346, a class-level weakness, and none of its children carries one either.

References