CVE-2026-59830
JSON

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 packageVersionsReported by
discourse discourse< 2026.7.0CVE List
discourse (Bitnami)before 2026.7.0Bitnami Vulnerability Database

All scores

GitHub_M5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59830 changed 2026-09-22CVE Terms of Use
NVDCVE-2026-59830 changed 2026-09-23Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2026-59830 changed 2026-09-29Apache-2.0