The branch, QA_3_4 has been updated via 968a8d2ad72a831a3447b3e9785da21878ee7fed (commit) via e90aebf71be2fd26e464e6d33f753ce925eb6ff4 (commit) from 9ea69bd18ef73f761624d3daa2824e3a6cd1c8cc (commit)
- Log ----------------------------------------------------------------- commit 968a8d2ad72a831a3447b3e9785da21878ee7fed Author: Marc Delisle marc@infomarc.info Date: Fri Nov 26 09:03:22 2010 -0500
ChangeLog for XSS fix
commit e90aebf71be2fd26e464e6d33f753ce925eb6ff4 Author: Herman van Rink rink@initfour.nl Date: Thu Nov 25 11:50:50 2010 +0100
bug #3115519: fixed XSS on search
-----------------------------------------------------------------------
Summary of changes: ChangeLog | 6 +++--- libraries/common.lib.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 8a027c0..c120c04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -132,6 +132,9 @@ - patch #3117535 [replication] Add quotes to database in initial statement, thanks to Craig Duncan - duncan3dc
+3.3.8.1 (2010-10-26) +- bug #3115519 (private) [security] XSS on db search + 3.3.8.0 (2010-10-25) - bug #3059311 [import] BIGINT field type added to table analysis - [core] Update library PHPExcel to version 1.7.4 @@ -145,9 +148,6 @@ 3.3.7.0 (2010-09-07) - patch #3050492 [PDF scratchboard] Cannot drag table box to the edge after a page size increase, thanks to Martin Schönberger - mad05 -- bug #3054458 [core] Fixed displaying number of rows. -- bug #3035300 [parser] Fixed wrong definition of keywords. -- [setup] Fixed escaping of server name.
3.3.6.0 (2010-08-28) - bug #3033063 [core] Navi gets wrong db name diff --git a/libraries/common.lib.php b/libraries/common.lib.php index ec5100f..4b194de 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1769,7 +1769,7 @@ function PMA_linkOrButton($url, $message, $tag_params = array(), $tmp = $tag_params; $tag_params = array(); if (!empty($tmp)) { - $tag_params['onclick'] = 'return confirmLink(this, '' . $tmp . '')'; + $tag_params['onclick'] = 'return confirmLink(this, '' . PMA_escapeJsString($tmp) . '')'; } unset($tmp); }
hooks/post-receive