- Affected version
- 2.1.0 Beta 2
Phrase
delete
is not escaped when used in \XF\Template\Templater::getDataRowCell()
for a title attribute.
PHP:
if (!$tooltip)
{
$tooltip = \XF::phrase('delete');
}
$html = "<a href=\"{$href}\" class=\"iconic iconic--delete dataList-delete\" data-xf-init=\"tooltip\" title=\"{$tooltip}\" data-xf-click=\"overlay\"{$target}><i aria-hidden=\"true\"></i></a>";