Skip to content

Commit 43de782

Browse files
committed
Fix merge conflicts
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2 parents c3460a7 + d5db011 commit 43de782

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

ChangeLog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ phpMyAdmin - ChangeLog
55
- issue #17842 Change js.cookie.js to js.cookie.min.js
66
- issue #17632 Improve tab keypress to text fields on the login form
77

8-
5.2.1 (not yet released)
8+
5.2.1 (2023-02-07)
99
- issue #17522 Fix case where the routes cache file is invalid
1010
- issue #17506 Fix error when configuring 2FA without XMLWriter or Imagick
1111
- issue Fix blank page when some error occurs
@@ -88,6 +88,7 @@ phpMyAdmin - ChangeLog
8888
- issue Fix silent JSON parse error on upload progress
8989
- issue #17833 Fix "Add Parameter" button not working for Add Routine Screen
9090
- issue #17365 Fixed "Uncaught Error: regexp too big" on server status variables page
91+
- issue [security] Fix an XSS attack through the drag-and-drop upload feature (PMASA-2023-01)
9192

9293
5.2.0 (2022-05-10)
9394
- issue #16521 Upgrade Bootstrap to version 5

js/src/drag_drop_import.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ var DragDropImport = {
134134
var filename = $this.parent('span').attr('data-filename');
135135
$('body').append('<div class="pma_drop_result"><h2>' +
136136
window.Messages.dropImportImportResultHeader + ' - ' +
137-
filename + '<span class="close">x</span></h2>' + value.message + '</div>');
137+
Functions.escapeHtml(filename) + '<span class="close">x</span></h2>' + value.message + '</div>');
138138
$('.pma_drop_result').draggable(); // to make this dialog draggable
139139
}
140140
});

0 commit comments

Comments
 (0)