Vulnerability in Discourse

CVE-2025-66488

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 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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.6 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L.

EPSS exploit prediction

EPSS: 0.002 (9.0th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 9th percentile — 9.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-66488: held from 0.002 to 0.002.

EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000

Affected products

  • Discourse — versions >= 2026.1.0-latest, < 2026.1.0, >= 2025.12.0-latest, < 2025.12.1, < 3.5.4

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-66488?
CVE-2025-66488 is a medium-severity vulnerability in Discourse, classified under Improper Encoding or Escaping of Output. CVSS score: 4.6/10. Published 2026-01-28.
How severe is CVE-2025-66488?
Medium severity. CVSS v3 base score is 4.6 out of 10.