From 2103800b1838b6a2b6ae7384e8b50dd70a1ad971 Mon Sep 17 00:00:00 2001 From: joebordes Date: Sun, 21 Aug 2022 21:38:12 +0200 Subject: [PATCH] sec(Popup) XSS in form parameters --- Smarty/templates/Popup.tpl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Smarty/templates/Popup.tpl b/Smarty/templates/Popup.tpl index 8addd7b9c5..ac0fd8802f 100644 --- a/Smarty/templates/Popup.tpl +++ b/Smarty/templates/Popup.tpl @@ -147,26 +147,26 @@ var fielddatatype = new Array({$VALIDATION_DATA_FIELDDATATYPE}); - + - - - - + + + + {if isset($CBCUSTOMPOPUPINFO_ARRAY)} {foreach from=$CBCUSTOMPOPUPINFO_ARRAY item=param} - + {/foreach} {if isset($CBCUSTOMPOPUPINFO)} {/if} {/if} {if !empty($smarty.request.currencyid)} - + {/if} {if !empty($smarty.request.srcwhid)} - + {/if}