# CVE-2026-59830: Discourse: Stored XSS via unescaped actor name in post actions

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- 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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-21T21:17:38.733Z
- Modified: 2026-09-29T10:10:58.291Z
- Also known as: BIT-DISCOURSE-2026-59830, GHSA-x6mf-p7cg-69rw
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- discourse discourse: < 2026.7.0
- discourse (Bitnami): before 2026.7.0

## Every score

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

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-x6mf-p7cg-69rw> (web)
- <https://github.com/discourse/discourse/commit/dd786594ddd088657a7e6f9fefba5bd889965fe4> (web)
- <https://github.com/discourse/discourse/releases/tag/v2026.7.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59830> (web)

## Sources

- CVE List: [CVE-2026-59830](https://www.cve.org/CVERecord?id=CVE-2026-59830), CVE Terms of Use, modified 2026-09-22
- NVD: [CVE-2026-59830](https://nvd.nist.gov/vuln/detail/CVE-2026-59830), Public domain, modified 2026-09-23
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2026-59830](https://osv.dev/vulnerability/BIT-DISCOURSE-2026-59830), Apache-2.0, modified 2026-09-29

---

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