From 0ec93011dab778bc9845816a91d93265b431dce1 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Wed, 12 Sep 2018 15:05:30 +0200 Subject: [PATCH] Fixed security fail filling the plugin fields --- pandora_console/godmode/servers/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/servers/plugin.php b/pandora_console/godmode/servers/plugin.php index 93ed8841f7..e592fd570d 100644 --- a/pandora_console/godmode/servers/plugin.php +++ b/pandora_console/godmode/servers/plugin.php @@ -833,7 +833,7 @@ ui_require_javascript_file('pandora_modules'); i++; } - $('#command_preview').html(command+' '+parameters); + $('#command_preview').html(_.escape(command) + ' ' + _.escape(parameters)); } function show_locked_dialog(id_plugin, plugin_name) {