Improper Encoding or Escaping of Output in Discourse - CVE-2026-91121
Published: October 28, 2026
Vulnerability details
The vulnerability allows a remote user to inject HTML into chat message excerpts displayed to other users.
The vulnerability exists due to improper output escaping in Discourse's chat excerpt renderers when rendering upload filenames. A remote user can upload a file with specially crafted markup in its filename to inject HTML into chat channel lists, chat summary emails, pinned message bars, and reply or thread previews.
JavaScript execution was not demonstrated with Discourse's default security settings.