diff --git a/ajax/networking/get_wgkey.php b/ajax/networking/get_wgkey.php index 840d59f0..ba5d8335 100644 --- a/ajax/networking/get_wgkey.php +++ b/ajax/networking/get_wgkey.php @@ -3,7 +3,7 @@ require '../../includes/csrf.php'; require_once '../../includes/config.php'; -$entity = $_POST['entity']; +$entity = escapeshellcmd($_POST['entity']); if (isset($entity)) {