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

- Severity: Medium 4.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-01-28T18:15:52.902Z
- Modified: 2026-09-08T08:45:52.697Z
- Also known as: BIT-DISCOURSE-2025-66488, GHSA-68jp-3934-62rx
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

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

- CVE List: [CVE-2025-66488](https://www.cve.org/CVERecord?id=CVE-2025-66488), CVE Terms of Use, modified 2026-01-28
- NVD: [CVE-2025-66488](https://nvd.nist.gov/vuln/detail/CVE-2025-66488), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2025-66488](https://osv.dev/vulnerability/BIT-DISCOURSE-2025-66488), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-66488 · Whole record: https://cve.day/CVE-2025-66488.json · Rebuilt by cve.day 2026-11-25T22:59:10.906Z
