mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix xss in device groups overview (#15399)
This commit is contained in:
@@ -18,7 +18,7 @@ if (count($device_groups)) {
|
||||
<div class="col-sm-12">
|
||||
<?php foreach ($device_groups as $group) { ?>
|
||||
<span style="margin: 8px;">
|
||||
<a href="<?=url('devices/group=' . $group['id'])?>" target="_blank"><?=$group['name']?></a>
|
||||
<a href="<?=url('devices/group=' . $group['id'])?>" target="_blank"><?=htmlspecialchars($group['name'])?></a>
|
||||
</span>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user