diff --git a/rbac/public_html/sysUnnamed.php b/rbac/public_html/sysUnnamed.php index 1a0f16886..4733a35b6 100755 --- a/rbac/public_html/sysUnnamed.php +++ b/rbac/public_html/sysUnnamed.php @@ -5,7 +5,9 @@ // define("URL_KEY", 'c0l0s40pt1mu59r1m3' ); // define("ENABLE_ENCRYPT", 'yes' ); - $COMPLETE_URI = $_SERVER["REQUEST_URI"]; + G::LoadSystem('inputfilter'); + $filter = new InputFilter(); + $COMPLETE_URI = $filter->xssFilterHard($_SERVER["REQUEST_URI"]); $webAddress = substr($COMPLETE_URI,1); $COMPLETE_URI = strtolower ($COMPLETE_URI) . "/mNE/qsll/n9KX1Z4/n9KX1Z6hnKTd4A"; diff --git a/workflow/engine/includes/inc.JSForms.php b/workflow/engine/includes/inc.JSForms.php index f4b33b5aa..e1cfd4f5a 100755 --- a/workflow/engine/includes/inc.JSForms.php +++ b/workflow/engine/includes/inc.JSForms.php @@ -23,12 +23,19 @@ * */ +G::LoadSystem('inputfilter'); +$filter = new InputFilter(); global $HTTP_SESSION_VARS; global $G_FORM; +$HTTP_SESSION_VARS = $filter->xssFilterHard($HTTP_SESSION_VARS); +$HTTP_GET_VARS = $filter->xssFilterHard($HTTP_GET_VARS); +$_GET = $filter->xssFilterHard($_GET); + $path = ''; $showFieldAjax = 'showFieldAjax.php'; $serverAjax = G::encryptLink($path.$showFieldAjax); +$serverAjax = $filter->xssFilterHard($serverAjax); ?>