CVE-2026-59830
5.4medium
Discourse: Stored XSS via unescaped actor name in post actions
- Severity
- 5.4medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-DISCOURSE-2026-59830GHSA-x6mf-p7cg-69rw
Description
Discourse is an open-source discussion platform. Prior to 2026.7.0, the post action component failed to escape user-controlled display names before interpolating them into an HTML string passed to trustHTML. A user who could choose a crafted display name could persist markup in post action descriptions. Viewing the affected user activity streams could execute attacker-controlled script in another user's browser. This issue is fixed in version 2026.7.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| discourse discourse | < 2026.7.0 | CVE List |
| discourse (Bitnami) | before 2026.7.0 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59830 changed 2026-09-22 | CVE Terms of Use |
| NVD | CVE-2026-59830 changed 2026-09-23 | Public domain |
| Bitnami Vulnerability Database | BIT-DISCOURSE-2026-59830 changed 2026-09-29 | Apache-2.0 |