Skip to content

Commit

Permalink
bug #4579 [security] XSS vulnerability in zoom search page
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information
madhuracj committed Nov 20, 2014
1 parent d32da34 commit 1bc04ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -16,6 +16,7 @@ phpMyAdmin - ChangeLog
- bug #4596 [security] XSS through exception stack
- bug #4595 [security] Path traversal can lead to leakage of line count
- bug #4578 [security] XSS vulnerability in table print view
- bug #4579 [security] XSS vulnerability in zoom search page

4.2.11.0 (2014-10-31)
- bug ReferenceError: Table_onover is not defined
Expand Down
2 changes: 1 addition & 1 deletion tbl_zoom_select.php
Expand Up @@ -81,7 +81,7 @@
}
$key = array_search($field, $table_search->getColumnNames());
$properties = $table_search->getColumnProperties($_REQUEST['it'], $key);
$response->addJSON('field_type', $properties['type']);
$response->addJSON('field_type', htmlspecialchars($properties['type']));
$response->addJSON('field_collation', $properties['collation']);
$response->addJSON('field_operators', $properties['func']);
$response->addJSON('field_value', $properties['value']);
Expand Down

0 comments on commit 1bc04ec

Please sign in to comment.