4.6medium
Discourse allows script execution in uploaded HTML/XML files on S3
- Severity
- 4.6medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-DISCOURSE-2025-66488GHSA-68jp-3934-62rx
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| discourse discourse | < 3.5.4, >= 2025.11.0-latest, < 2025.11.2, >= 2025.12.0-latest, < 2025.12.1, >= 2026.1.0-latest, < 2026.1.0, before 3.5.4, from 2025.11.0 before 2025.11.2, 2025.12.0, 2026.1.0 | CVE List, NVD |
| discourse (Bitnami) | before 3.5.4, from 2025.11.0 before 2025.11.2, from 2025.12.0 before 2025.12.1, from 2026.1.0 before 2026.1.0 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 4.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Discourse es una plataforma de discusión de código abierto. Una vulnerabilidad presente en versiones anteriores a 3.5.4, 2025.11.2, 2025.12.1 y 2026.1.0 afecta a cualquiera que use S3 para cargas. Aunque se pueden ejecutar los scripts, solo se hará en el contexto del dominio S3/CDN, sin credenciales del sitio. Las versiones 3.5.4, 2025.11.2, 2025.12.1 y 2026.1.0 solucionan el problema. Como solución alternativa, se recomienda no permitir archivos html o xml para cargas en authorized_extensions. Para las cargas existentes de html xml, los propietarios del sitio pueden considerar eliminarlas.
References
| https://github.com/discourse/discourse/security/advisories/GHSA-68jp-3934-62rx | advisory, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-66488 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-66488 changed 2026-01-28 | CVE Terms of Use |
| NVD | CVE-2025-66488 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DISCOURSE-2025-66488 changed 2026-09-08 | Apache-2.0 |