From 9364e2eee5681681caf7205c0933bc18af11e233 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Thu, 20 Nov 2014 06:20:49 +0530 Subject: [PATCH 1/9] bug #4596 [security] XSS through exception stack Signed-off-by: Madhura Jayaratne --- ChangeLog | 1 + libraries/error_report.lib.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 41efceee0c..f5b06e6370 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ phpMyAdmin - ChangeLog - bug #4599 Input field unnecessarily selected on focus - bug #4602 Exporting selected rows exports all rows of the query - bug #4444 No insert statement produced in SQL export for queries with alias +- bug #4596 [security] XSS through exception stack 4.2.11.0 (2014-10-31) - bug ReferenceError: Table_onover is not defined diff --git a/libraries/error_report.lib.php b/libraries/error_report.lib.php index 80a216eff8..8843dfcd31 100644 --- a/libraries/error_report.lib.php +++ b/libraries/error_report.lib.php @@ -279,7 +279,7 @@ function PMA_getErrorReportForm() . __('You may examine the data in the error report:') . '

' . '
'
-            . PMA_getReportData()
+            . htmlspecialchars(PMA_getReportData())
             . '
'; $html .= '