Cross-site scripting in Discourse - CVE-2026-59830
Published: July 29, 2026
Discourse
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary script code in the victim's browser.
The vulnerability exists due to improper neutralization of input during web page generation in post actions on user activity streams when rendering user-controlled display names in an HTML string passed to trustHTML. A remote user can set a crafted actor name to execute arbitrary script code in the victim's browser.
User interaction is required to view the affected activity stream.