Skip to content

Commit

Permalink
Fix XSS in Central columns 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 Feb 29, 2016
1 parent ab1283e commit cc55f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db_central_columns.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
} else {
$total_rows = PMA_getCentralColumnsCount($db);
}
if (isset($_REQUEST['pos'])) {
if (PMA_isValid($_REQUEST['pos'], 'integer')) {
$pos = $_REQUEST['pos'];
} else {
$pos = 0;
Expand Down

0 comments on commit cc55f44

Please sign in to comment.