WP Live Chat Support - Version 8.2.0

Version Description

= 8.1.x = Huge update with over 300 changes that include: Bugfixes, Vulnerability Fixes & Plugin Security, Plugin Optimization & Rebranding Updates. We suggest you remove any existing installations of this plugin and install 8.1.x fresh.

Download this release

Release Info

Developer wpdev3cx
Plugin Icon 128x128 WP Live Chat Support
Version 8.2.0
Comparing to
See all releases

Code changes from version 8.1.9 to 8.2.0

changelog.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  = 8.1.9 - 2020-06-09 =
2
  * Bugfix: Fixed chat icon url on admin.
3
  * Bugfix: Custom theme colors.
1
+ = 8.2.0 - 2020-07-11 =
2
+ * Fixed VULN: Fixed XSS vulnerability within quick responses in agent chat.
3
+ * Fixed VULN: Fixed XSS vulnerability within posts and pages render in agent direct to page modal.
4
+
5
  = 8.1.9 - 2020-06-09 =
6
  * Bugfix: Fixed chat icon url on admin.
7
  * Bugfix: Custom theme colors.
config.php CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
7
  exit;
8
  }
9
 
10
- define('WPLC_PLUGIN_VERSION', "8.1.9");
11
  define('WPLC_PLUGIN_DIR', dirname(__FILE__));
12
  define('WPLC_PLUGIN_URL', wplc_plugins_url('/', __FILE__ ) );
13
  define('WPLC_PLUGIN', plugin_basename( __FILE__ ) );
7
  exit;
8
  }
9
 
10
+ define('WPLC_PLUGIN_VERSION', "8.2.0");
11
  define('WPLC_PLUGIN_DIR', dirname(__FILE__));
12
  define('WPLC_PLUGIN_URL', wplc_plugins_url('/', __FILE__ ) );
13
  define('WPLC_PLUGIN', plugin_basename( __FILE__ ) );
js/wplc_agent_node.js CHANGED
@@ -3387,7 +3387,7 @@ function tcx_refresh_visitor_list() {
3387
  function tcx_generate_dropdown(id_name, data_array) {
3388
  var dropdown_html = "<select name='" + id_name + "' id='" + id_name + "' >";
3389
  for (var i in data_array) {
3390
- dropdown_html += "<option value='" + i + "'>" + tcx_string_limiter(data_array[i], 45) + "</option>";
3391
  }
3392
  dropdown_html += "</select>";
3393
  return dropdown_html;
3387
  function tcx_generate_dropdown(id_name, data_array) {
3388
  var dropdown_html = "<select name='" + id_name + "' id='" + id_name + "' >";
3389
  for (var i in data_array) {
3390
+ dropdown_html += "<option value='" + i + "'>" + wplc_safe_html(tcx_string_limiter(data_array[i], 45)) + "</option>";
3391
  }
3392
  dropdown_html += "</select>";
3393
  return dropdown_html;
modules/node_server.php CHANGED
@@ -691,7 +691,7 @@ function wplc_admin_dashboard() {
691
 
692
  foreach ($posts_pages as $key => $value) {
693
  $post_page_id = $value->ID;
694
- $post_page_title = $value->post_title;
695
 
696
  $return_array[get_permalink($post_page_id)] = $post_page_title;
697
  }
@@ -868,7 +868,7 @@ function wplc_admin_dashboard() {
868
  //Add quick responses
869
  if ($posts_array) {
870
  foreach ($posts_array as $post) {
871
- echo '<div class="quick_response_item">' . $post->post_content . '</div>';
872
  }
873
  } else {
874
  echo "<div style='position: absolute; top: 23px; bottom: 0; left: 10px; right: 0; margin: auto; height: 20px;'>";
691
 
692
  foreach ($posts_pages as $key => $value) {
693
  $post_page_id = $value->ID;
694
+ $post_page_title = esc_html($value->post_title);
695
 
696
  $return_array[get_permalink($post_page_id)] = $post_page_title;
697
  }
868
  //Add quick responses
869
  if ($posts_array) {
870
  foreach ($posts_array as $post) {
871
+ echo '<div class="quick_response_item">' . esc_html($post->post_content) . '</div>';
872
  }
873
  } else {
874
  echo "<div style='position: absolute; top: 23px; bottom: 0; left: 10px; right: 0; margin: auto; height: 20px;'>";
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: live chat, live support, chat plugin, live help, wordpress live chat, chat
4
  Requires at least: 4.6
5
  Tested up to: 5.4.1
6
  Requires PHP: 5.3
7
- Stable tag: 8.1.9
8
  License: GPLv2
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
  Text Domain: wp-live-chat-support
@@ -198,4 +198,8 @@ Huge update with over 300 changes that include: Bugfixes, Vulnerability Fixes &
198
 
199
  = 8.1.9 - 2020-06-09 =
200
  * Bugfix: Fixed chat icon url on admin.
201
- * Bugfix: Custom theme colors.
 
 
 
 
4
  Requires at least: 4.6
5
  Tested up to: 5.4.1
6
  Requires PHP: 5.3
7
+ Stable tag: 8.2.0
8
  License: GPLv2
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
  Text Domain: wp-live-chat-support
198
 
199
  = 8.1.9 - 2020-06-09 =
200
  * Bugfix: Fixed chat icon url on admin.
201
+ * Bugfix: Custom theme colors.
202
+
203
+ = 8.2.0 - 2020-07-11 =
204
+ * Fixed VULN: Fixed XSS vulnerability within quick responses in agent chat.
205
+ * Fixed VULN: Fixed XSS vulnerability within posts and pages render in agent direct to page modal.
wp-live-chat-support.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP-Live Chat by 3CX
4
  Plugin URI: https://www.3cx.com/wp-live-chat/
5
  Description: The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with WP-Live Chat by 3CX.
6
- Version: 8.1.9
7
  Author: 3CX
8
  Author URI: https://www.3cx.com/wp-live-chat/
9
  Domain Path: /languages
3
  Plugin Name: WP-Live Chat by 3CX
4
  Plugin URI: https://www.3cx.com/wp-live-chat/
5
  Description: The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with WP-Live Chat by 3CX.
6
+ Version: 8.2.0
7
  Author: 3CX
8
  Author URI: https://www.3cx.com/wp-live-chat/
9
  Domain Path: /languages