Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/discourse/discourse/commit/dd786594ddd088657a7e6f9fefba5bd889
- https://github.com/discourse/discourse/releases/tag/v2026.7.0
- https://github.com/discourse/discourse/security/advisories/GHSA-x6mf-p7cg-69rw
FAQ
What is CVE-2026-59830?
CVE-2026-59830 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 tru...
How severe is CVE-2026-59830?
CVE-2026-59830 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-59830?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.