CVE Catalog

CVE-2026-59830

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

Summary

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.

Risk Assessment

An attacker can execute malicious scripts in other users' browsers, potentially leading to session theft, account takeover, or spreading malicious content. The organization is at risk of XSS attacks.

Recommendation

Update Discourse to version 2026.7.0 or later. Additionally, consider implementing Content Security Policy (CSP) to mitigate the impact of XSS.

Other vulnerabilities in Discourse

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS