Fix device group stored XSS (#16442)

https://github.com/librenms/librenms/security/advisories/GHSA-fc38-2254-48g7
This commit is contained in:
Tony Murray
2024-09-28 13:37:46 -05:00
committed by GitHub
parent ce89f5b410
commit d3b51560a8

View File

@ -26,7 +26,7 @@ function show_device_group($device_group_id) {
}
?>
</span>
<?php echo $device_group_name ?>
<?php echo htmlentities($device_group_name) ?>
</div>
<?php
}