WP Social Bookmarking Light - Version 1.7.10

Version Description

  • Fixed: XSS Vulnerability
Download this release

Release Info

Developer utahvich
Plugin Icon wp plugin WP Social Bookmarking Light
Version 1.7.10
Comparing to
See all releases

Code changes from version 1.7.9 to 1.7.10

modules/options.php CHANGED
@@ -16,6 +16,7 @@ You should have received a copy of the GNU General Public License
16
  along with this program; if not, write to the Free Software
17
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
  */
 
19
  /**
20
  * default option
21
  */
@@ -124,6 +125,9 @@ function wp_social_bookmarking_light_options()
124
  */
125
  function wp_social_bookmarking_light_save_options($data)
126
  {
 
 
 
127
  $options = array("services" => $data["services"],
128
  "styles" => $data["styles"],
129
  "position" => $data["position"],
16
  along with this program; if not, write to the Free Software
17
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
  */
19
+
20
  /**
21
  * default option
22
  */
125
  */
126
  function wp_social_bookmarking_light_save_options($data)
127
  {
128
+ foreach ($data as $key => $value) {
129
+ $data[$key] = htmlspecialchars($value, ENT_QUOTES, 'UTF-8');
130
+ }
131
  $options = array("services" => $data["services"],
132
  "styles" => $data["styles"],
133
  "position" => $data["position"],
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: utahvich
3
  Donate link:
4
  Tags: links, social, bookmarks, bookmarking, Hatena, Livedoor Clip, BuzzURL, @nifty clip, Twitter, Tumblr, FC2 Bookmark, newsing, Choix, Yahoo!JAPAN Bookmark, Yahoo!Buzz, Google Bookmark, Delicious, Digg, FriendFeed, Google Buzz, Facebook, reddit, LinkedIn, Evernote, Instapaper, StumbleUpon, mixi, gree, atode, toread, line, pocket
5
  Requires at least: 2.9.0
6
- Tested up to: 4.1
7
- Stable tag: 1.7.9
8
 
9
  This plugin inserts social share links at the top or bottom of each post.
10
 
@@ -61,6 +61,9 @@ This is the list of used social sites:
61
 
62
  == Changelog ==
63
 
 
 
 
64
  = 1.7.9 =
65
  * Updated: Added line option to select protocol
66
 
3
  Donate link:
4
  Tags: links, social, bookmarks, bookmarking, Hatena, Livedoor Clip, BuzzURL, @nifty clip, Twitter, Tumblr, FC2 Bookmark, newsing, Choix, Yahoo!JAPAN Bookmark, Yahoo!Buzz, Google Bookmark, Delicious, Digg, FriendFeed, Google Buzz, Facebook, reddit, LinkedIn, Evernote, Instapaper, StumbleUpon, mixi, gree, atode, toread, line, pocket
5
  Requires at least: 2.9.0
6
+ Tested up to: 4.3
7
+ Stable tag: 1.7.10
8
 
9
  This plugin inserts social share links at the top or bottom of each post.
10
 
61
 
62
  == Changelog ==
63
 
64
+ = 1.7.10 =
65
+ * Fixed: XSS Vulnerability
66
+
67
  = 1.7.9 =
68
  * Updated: Added line option to select protocol
69
 
wp-social-bookmarking-light.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /*
3
  Plugin Name: WP Social Bookmarking Light
4
- Plugin URI: http://www.ninxit.com/blog/2010/06/13/wp-social-bookmarking-light/
5
  Description: This plugin inserts social share links at the top or bottom of each post.
6
  Author: utahta
7
- Author URI: http://www.ninxit.com/blog/
8
- Version: 1.7.9
9
  */
10
  /*
11
  Copyright 2010 utahta (email : labs.ninxit@gmail.com)
1
  <?php
2
  /*
3
  Plugin Name: WP Social Bookmarking Light
4
+ Plugin URI: https://github.com/utahta/WP-Social-Bookmarking-Light
5
  Description: This plugin inserts social share links at the top or bottom of each post.
6
  Author: utahta
7
+ Author URI: https://github.com/utahta/WP-Social-Bookmarking-Light
8
+ Version: 1.7.10
9
  */
10
  /*
11
  Copyright 2010 utahta (email : labs.ninxit@gmail.com)