Security Resilience

CVE-2025-66488

Discourse ≤ 3.5.4

Published
28 January 2026
Modified
30 January 2026
CVSS Score v3.1 4.6
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
EPSS Score 0.0020 9th percentile
Risk Priority 36 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-66488 is a medium-severity Improper Encoding or Escaping of Output (CWE-116) vulnerability in Discourse. Its CVSS base score is 4.6 (Medium).

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

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Discourse is an open source discussion platform. A vulnerability present in versions prior to 3.5.4, 2025.11.2, 2025.12.1, and 2026.1.0 affects anyone who uses S3 for uploads. While scripts may be executed, they will only be run in the context of…

more

the S3/CDN domain, with no site credentials. Versions 3.5.4, 2025.11.2, 2025.12.1, and 2026.1.0 fix the issue. As a workaround, disallow html or xml files for uploads in authorized_extensions. For existing html xml uploads, site owners can consider deleting them.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-32301Same product: Discourse Discourse
CVE-2025-48062Same product: Discourse Discourse
CVE-2024-45051Same product: Discourse Discourse
CVE-2025-24808Same product: Discourse Discourse
CVE-2023-37904Same product: Discourse Discourse
CVE-2026-55420Same product: Discourse Discourse
CVE-2026-21865Same product: Discourse Discourse
CVE-2026-27154Same product: Discourse Discourse
CVE-2026-34947Same product: Discourse Discourse
CVE-2024-55948Same product: Discourse Discourse

Affected Assets

discourse
discourse
2025.12.0, 2026.1.0 · ≤ 3.5.4 · 2025.11.0 — 2025.11.2

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-116

Validating that output matches expected content directly mitigates failures to properly encode or escape data for its destination context.

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.

finds

Security testing can detect missing or incorrect encoding but does not itself implement the control.

prevents

Secure coding standards explicitly require correct output encoding and escaping to preserve message structure.

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-116, a class-level weakness, and none of its children carries one either.

References