Skip to content

Commit cc55f44

Browse files
committed
Fix XSS in Central columns page
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
1 parent ab1283e commit cc55f44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: db_central_columns.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
} else {
9393
$total_rows = PMA_getCentralColumnsCount($db);
9494
}
95-
if (isset($_REQUEST['pos'])) {
95+
if (PMA_isValid($_REQUEST['pos'], 'integer')) {
9696
$pos = $_REQUEST['pos'];
9797
} else {
9898
$pos = 0;

0 commit comments

Comments
 (0)