- Affected version
- 2.1.0 Beta 2
Phrase
there_are_x_items_in_total
is not escaped when used in \XF\Template\Templater::fnDisplayTotals()
for a title attribute.
PHP:
return '<span class="js-displayTotals" data-count="' . $count . '" data-total="' . $total . '"'
. ' data-xf-init="tooltip" title="' . \XF::phrase('there_are_x_items_in_total', ['total' => $params['total']]) . '">'
. \XF::phrase($phrase, $params) . '</span>';