Improper Neutralization of Special Elements Used in a Template Engine in Discourse - #VU166161
Published: November 13, 2026
Vulnerability details
The vulnerability allows a remote user to gain administrator privileges and disclose server secrets or other users' data.
The vulnerability exists due to improper neutralization of template elements in Discourse Automation when enabled automations insert user-written text through %%KEY%% or %%REPORT=…%% placeholders and evaluate embedded template tags server-side. A remote user can craft topic titles, posts, profile fields, or report-listed text containing template tags to gain administrator privileges or read sensitive information.