diff --git a/lib/CleantalkSP/SpbctWP/Firewall/FirewallModule.php b/lib/CleantalkSP/SpbctWP/Firewall/FirewallModule.php index 0346c582d..d501205d9 100644 --- a/lib/CleantalkSP/SpbctWP/Firewall/FirewallModule.php +++ b/lib/CleantalkSP/SpbctWP/Firewall/FirewallModule.php @@ -148,7 +148,7 @@ public function _die(Result $result) // phpcs:ignore PSR2.Methods.MethodDeclarat // Check if this is test mode $is_test_mode = (bool) Get::getString('spbct_test'); - $test_ip = Get::getString('spbct_test_ip'); + $test_ip = esc_html(Get::getString('spbct_test_ip')); // Translation $replaces = array(