Discourse: Stored XSS via unescaped actor name in post actions
cve-program · CVE-2026-59830
PublishedDiscourse 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-59830 · CVE overview and exploitation status
cve-program · CVE-2026-59830
Related changes
Linked by CVE identifierNo related changes are available here.