Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix stored XSS in ALE view by HTML-escaping piggy bank name
iaohkutfa6c12359510
diff --git a/resources/views/list/ale.twig b/resources/views/list/ale.twigindex b8fd03e782..9b3f80c164 100644--- a/resources/views/list/ale.twig+++ b/resources/views/list/ale.twig@@ -104,10 +104,10 @@<code>{{ logEntry.after }}</code>{% endif %}{% if 'add_to_piggy' == logEntry.action %}- {{ trans('firefly.ale_action_log_add', {amount: formatAmountBySymbol(logEntry.after.amount, logEntry.after.currency_symbol, logEntry.after.decimal_places, true), name: logEntry.after.piggy})|raw }}+ {{ trans('firefly.ale_action_log_add', {amount: formatAmountBySymbol(logEntry.after.amount, logEntry.after.currency_symbol, logEntry.after.decimal_places, true), name: logEntry.after.piggy|e})|raw }}{% endif %}{% if 'remove_from_piggy' == logEntry.action %}- {{ trans('firefly.ale_action_log_remove', {amount: formatAmountBySymbol(logEntry.after.amount, logEntry.after.currency_symbol, logEntry.after.decimal_places, true), name: logEntry.after.piggy})|raw }}+ {{ trans('firefly.ale_action_log_remove', {amount: formatAmountBySymbol(logEntry.after.amount, logEntry.after.currency_symbol, logEntry.after.decimal_places, true), name: logEntry.after.piggy|e})|raw }}{% endif %}</td>