Merge branch 'ent-11795-stored-cross-site-scripting-via-site-news-page' into 'develop'
Ent 11795 stored cross site scripting via site news page See merge request artica/pandorafms!6290
This commit is contained in:
commit
81f7591cb6
|
@ -259,6 +259,8 @@ if (!empty($news)) {
|
||||||
|
|
||||||
$output_news .= '</div></div>';
|
$output_news .= '</div></div>';
|
||||||
} else {
|
} else {
|
||||||
|
$text = str_replace('<script', '<script', $text);
|
||||||
|
$text = str_replace('</script', '</script', $text);
|
||||||
$output_news .= nl2br($text);
|
$output_news .= nl2br($text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue