Cross-site scripting in Discourse - CVE-2026-91119
Published: October 28, 2026
Vulnerability details
The vulnerability allows a remote user to inject arbitrary HTML into Discourse content displayed to other users.
The vulnerability exists due to missing URL encoding in the topic small-action and nested-activity-log components when interpolating free-form action_code_who values into trusted mention-link href attributes. A remote user can supply a quote-bearing display name such as "><img src=x> to terminate an attribute and inject HTML elements into the rendered content.