CVE-2025-66488
published medium CVSS 3.1 · 4.6Discourse allows script execution in uploaded HTML/XML files on S3
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.6 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| discourse | discourse | < 3.5.4 (affected)>= 2025.11.0-latest, < 2025.11.2 (affected)>= 2025.12.0-latest, < 2025.12.1 (affected)>= 2026.1.0-latest, < 2026.1.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-116 CWE-116: Improper Encoding or Escaping of Output
References
1Provider assertions
2GitHub_M · cna
Discourse allows script execution in uploaded HTML/XML files on S3
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d6348b9c15ca23e42d34a5ae5d2a963d0a9728518dec7c00b380821a1af45de0
- Ingested
- 23 Sep 2026, 08:56:35 UTC
- Source record
- Official CVE record