CVE-2025-66488: Discourse allows script execution in uploaded HTML/XML files on S3

Published Jan 28, 2026
·
Updated

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 authorizedextensions. For existing html xml uploads, site owners can consider deleting them.

Affected Software

5 affected components
Discourse Discourse<3.5.4, <2025.11.2, <2025.12.1, <2026.1.0
Discourse Discourse<3.5.4
Discourse Discourse>=2025.11.0<2025.11.2
Discourse Discourse=2025.12.0
Discourse Discourse=2026.1.0

Event History

Jan 28, 2026
CVE Published
via MITRE·06:15 PM
Data Sourced
via MITRE·06:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-66488?

CVE-2025-66488 is considered a high severity vulnerability due to its potential to allow script execution on uploaded files.

2

How do I fix CVE-2025-66488?

To fix CVE-2025-66488, upgrade Discourse to version 3.5.4 or later, including 2025.11.2, 2025.12.1, or 2026.1.0.

3

Who is affected by CVE-2025-66488?

CVE-2025-66488 affects users of Discourse versions prior to 3.5.4, 2025.11.2, 2025.12.1, and 2026.1.0 that utilize S3 for uploads.

4

What types of files are involved in CVE-2025-66488?

CVE-2025-66488 involves HTML and XML files uploaded to S3 that could allow script execution.

5

Can CVE-2025-66488 be exploited remotely?

Yes, CVE-2025-66488 can be exploited remotely by manipulating uploaded files in the affected Discourse versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203