CVE-2025-66488 in Discourse
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Discourse | Discourse | 2025.12.0 2026.1.0 < 3.5.4 ≥ 2025.11.0, < 2025.11.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-66488 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-276554-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Published | 2026-01-28 |
| Last modified | 2026-01-30 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-116: CWE-116
Related attack patterns (CAPEC)
CAPEC-81 Web Server Logs Tampering via CWE-116
CAPEC-85 AJAX Footprinting via CWE-116
CAPEC-73 User-Controlled Filename via CWE-116
CAPEC-104 Cross Zone Scripting via CWE-116
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
{ "executive_summary": "A vulnerability in Discourse versions prior to 3.5.4, 2025.11.2, 2025.12.1, and 2026.1.0 allows for the execution of scripts in the context of the S3/CDN domain when using S3 for uploads. This issue is mitigated in the specified versions and can be worked around by disallowing HTML or XML file uploads.", "attack_vector_detail": "The vulnerability arises from improper validation of file uploads to S3, allowing an attacker to upload malicious scripts. These scripts can be executed in the context of the S3/CDN domain, but do not have access to site credentials.", "affected_components": ["Discourse versions prior to 3.5.4", "Discourse versions prior to 2025.11.2", "Discourse versions prior to 2025.12.1", "Discourse versions prior to 2026.1.0"], "exploitation_likelihood": "MEDIUM", "remediation_priority": "MEDIUM", "confidence":
Vulnerability details: 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 dele CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Questions
What is CVE-2025-66488?
{ "executive_summary": "A vulnerability in Discourse versions prior to 3.5.4, 2025.11.2, 2025.12.1, and 2026.1.0 allows for the execution of scripts in the context of the S3/CDN domain when using S3 for uploads. This issue is mitigated in the specified versions and can be worked around by disallowing HTML or XML file uploads.", "attack_vector_detail": "The vulnerability arises from improper validation of file uploads to S3, allowing an attacker to upload malicious scripts. These scripts can
What is the CVSS score for CVE-2025-66488?
CVE-2025-66488 has CVSS 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. EPSS: 0.3%.
Is CVE-2025-66488 actively exploited?
No confirmed active exploitation of CVE-2025-66488 as of 2026-05-30.
How do I remediate CVE-2025-66488?
Priority: LOW.
What systems are affected by CVE-2025-66488?
CVE-2025-66488 affects Discourse Discourse.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Discourse","product":"Discourse","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-01-30.