Skip to content

Commit c5fe17b

Browse files
committed
Security Fox of Flash SWF that had enabled Cross Site Scripting (XSS)
1 parent 55a5196 commit c5fe17b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

actionscript/Jplayer.as

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ package {
239239
}
240240
}
241241
private function illegalChar(s:String):Boolean {
242-
var illegals:String = "' \" ( ) { } * + / \\ < > = document";
242+
var illegals:String = "' \" ( ) { } * + / \\ < > = document alert";
243243
if(Boolean(s)) { // Otherwise exception if parameter null.
244244
for each (var illegal:String in illegals.split(' ')) {
245245
if(s.indexOf(illegal) >= 0) {

actionscript/happyworm/jPlayer/JplayerStatus.as

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
package happyworm.jPlayer {
1515
public class JplayerStatus {
1616

17-
public static const VERSION:String = "2.2.20"; // The version of the Flash jPlayer entity.
17+
public static const VERSION:String = "2.2.23"; // The version of the Flash jPlayer entity.
1818

1919
public var volume:Number = 0.5; // Not affected by reset()
2020
public var muted:Boolean = false; // Not affected by reset()

jquery.jplayer/Jplayer.swf

7 Bytes
Binary file not shown.

jquery.jplayer/jquery.jplayer.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
* - http://www.gnu.org/copyleft/gpl.html
99
*
1010
* Author: Mark J Panaghiston
11-
* Version: 2.2.22
12-
* Date: 29th March 2013
11+
* Version: 2.2.23
12+
* Date: 12th April 2013
1313
*/
1414

1515
/* Code verified using http://www.jshint.com/ */
@@ -454,8 +454,8 @@
454454
$.jPlayer.prototype = {
455455
count: 0, // Static Variable: Change it via prototype.
456456
version: { // Static Object
457-
script: "2.2.22",
458-
needFlash: "2.2.20",
457+
script: "2.2.23",
458+
needFlash: "2.2.23",
459459
flash: "unknown"
460460
},
461461
options: { // Instanced in $.jPlayer() constructor

0 commit comments

Comments
 (0)