mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Merge branch 'ent-5951-XSS-SNMP-Browser' into 'develop'
fixed XSS See merge request artica/pandorafms!3291
This commit is contained in:
commit
3e35da50b4
@ -159,7 +159,7 @@ function snmp_browser_get_html_tree(
|
||||
$status = (!empty($checked) && isset($checked[$level]));
|
||||
$output .= html_print_checkbox($checkbox_name, 0, $status, true, false, '').' <span>'.$level.'</span>';
|
||||
if (isset($sub_level['__VALUE__'])) {
|
||||
$output .= '<span class="value" style="display: none;"> = '.$sub_level['__VALUE__'].'</span>';
|
||||
$output .= '<span class="value" style="display: none;"> = '.io_safe_input($sub_level['__VALUE__']).'</span>';
|
||||
}
|
||||
|
||||
$output .= '</li>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user