WF Cookie Consent - Version 1.1.4

Version Description

Important fix for a XSS vulnerability on the 'Settings-Page'.

Download this release

Release Info

Developer wunderfarm
Plugin Icon 128x128 WF Cookie Consent
Version 1.1.4
Comparing to
See all releases

Code changes from version 1.1.3 to 1.1.4

Files changed (2) hide show
  1. readme.txt +4 -1
  2. wf-cookie-consent.php +3 -3
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.wunderfarm.com
4
  Tags: compliance, cookie law, cookielaw, cookies, cookiebar, policy, bar, eu cookie law, cookie law banner, cookiechoices, eu privacy directive, privacy, privacy directive, cookie consent, cookieconsent, Multi language, WPML, polylang, responsive, admin, code, content, embed, google, html, integration, javascript, links, login, marketing, page, pages, plugin, simple, text, url, wordpress, law, lightweight,
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9
7
- Stable tag: 1.1.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -29,6 +29,9 @@ WF Cookie Consent is the "wunderfarm-way" to show how your website complies with
29
 
30
  == Changelog ==
31
 
 
 
 
32
  = 1.1.3 =
33
  Improved performance by loading a minified js file. Added rel="noopener" to the link referring to the policy page.
34
 
4
  Tags: compliance, cookie law, cookielaw, cookies, cookiebar, policy, bar, eu cookie law, cookie law banner, cookiechoices, eu privacy directive, privacy, privacy directive, cookie consent, cookieconsent, Multi language, WPML, polylang, responsive, admin, code, content, embed, google, html, integration, javascript, links, login, marketing, page, pages, plugin, simple, text, url, wordpress, law, lightweight,
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9
7
+ Stable tag: 1.1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
29
 
30
  == Changelog ==
31
 
32
+ = 1.1.4 =
33
+ Important fix for a XSS vulnerability on the 'Settings-Page'.
34
+
35
  = 1.1.3 =
36
  Improved performance by loading a minified js file. Added rel="noopener" to the link referring to the policy page.
37
 
wf-cookie-consent.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WF Cookie Consent
4
  Plugin URI: http://www.wunderfarm.com/plugins/wf-cookie-consent
5
  Description: The wunderfarm-way to show how your website complies with the EU Cookie Law.
6
- Version: 1.1.3
7
  License: GNU General Public License v2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Author: wunderfarm
@@ -248,9 +248,9 @@ function wf_cookieconsent_setting_page_selector($args) {
248
  $wf_language_information = "(" . $wf_language_information . ")";
249
  }
250
  if($options[$args['fieldname']] == $post->ID) {
251
- echo "<option class='level-0' value='" . $post->ID . "' selected='selected'>" . $post->post_title . " " . $wf_language_information . "</option>";
252
  } else {
253
- echo "<option class='level-0' value='" . $post->ID . "'>" . $post->post_title . " " . $wf_language_information . "</option>";
254
  }
255
  }
256
  echo "</select>";
3
  Plugin Name: WF Cookie Consent
4
  Plugin URI: http://www.wunderfarm.com/plugins/wf-cookie-consent
5
  Description: The wunderfarm-way to show how your website complies with the EU Cookie Law.
6
+ Version: 1.1.4
7
  License: GNU General Public License v2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Author: wunderfarm
248
  $wf_language_information = "(" . $wf_language_information . ")";
249
  }
250
  if($options[$args['fieldname']] == $post->ID) {
251
+ echo "<option class='level-0' value='" . $post->ID . "' selected='selected'>" . sanitize_title($post->post_title) . " " . $wf_language_information . "</option>";
252
  } else {
253
+ echo "<option class='level-0' value='" . $post->ID . "'>" . sanitize_title($post->post_title) . " " . $wf_language_information . "</option>";
254
  }
255
  }
256
  echo "</select>";