You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mars contains a cross-site scripting vulnerability, that allows attackers to inject JavaScript code into the HTML output of your templates, if all of these conditions are met:
You are using the string interpolation features as part of your translations strings and
User input was is added to these translations strings without escaping and
You are using the msg template function to translate messages.
The fix for this issue will disable HTML message translation strings, a better approach to allow those kind of strings will be implemented using a separate ticket.
Mars contains a cross-site scripting vulnerability, that allows attackers to inject JavaScript code into the HTML output of your templates, if all of these conditions are met:
msg
template function to translate messages.Example translation strings, messages.en:
Translation approach that is not vulnerable:
Controller:
View:
Translation approach that is vulnerable:
Controller:
View:
The fix for this issue will disable HTML message translation strings, a better approach to allow those kind of strings will be implemented using a separate ticket.
Thanks to @ptman for reporting this.
The text was updated successfully, but these errors were encountered: