Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--tbl_printview.php2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a7900d358f..4cb74b03ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
phpMyAdmin - ChangeLog
======================
+4.0.10.6 (not yet released)
+- bug #4578 [security] XSS vulnerability in table print view
+
4.0.10.5 (2014-10-21)
- bug #4562 [security] XSS in debug SQL output
- bug #4563 [security] XSS in monitor query analyzer
diff --git a/tbl_printview.php b/tbl_printview.php
index 78bb961015..248010f8e9 100644
--- a/tbl_printview.php
+++ b/tbl_printview.php
@@ -180,7 +180,7 @@ foreach ($the_tables as $key => $table) {
echo ' ' . $field_name . "\n";
}
echo '</td>';
- echo '<td>' . $type. '<bdo dir="ltr"></bdo></td>';
+ echo '<td>' . htmlspecialchars($type) . '<bdo dir="ltr"></bdo></td>';
echo '<td>';
echo (($row['Null'] == '' || $row['Null'] == 'NO')
? __('No')