From 6dcaf0b4db6254f1833fe8dae295d9ddc2219276 Mon Sep 17 00:00:00 2001 From: dvz Date: Sat, 4 Nov 2023 18:33:47 +0100 Subject: [PATCH] Fix Visual editor size code persistent XSS --- admin/modules/user/users.php | 2 +- install/resources/mybb_theme.xml | 6 +++--- install/resources/upgrade58.php | 21 +++++++++++++++++++++ jscripts/bbcodes_sceditor.js | 2 +- 4 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 install/resources/upgrade58.php diff --git a/admin/modules/user/users.php b/admin/modules/user/users.php index b057cccf88..6fa972cb88 100644 --- a/admin/modules/user/users.php +++ b/admin/modules/user/users.php @@ -943,7 +943,7 @@ - + EOF; $page->output_header($lang->edit_user); diff --git a/install/resources/mybb_theme.xml b/install/resources/mybb_theme.xml index 73280de7d3..140a9570e7 100644 --- a/install/resources/mybb_theme.xml +++ b/install/resources/mybb_theme.xml @@ -1,5 +1,5 @@ - + @@ -14159,9 +14159,9 @@ if(use_xmlhttprequest == "1") {$lang->username} {$mybb->user['username']} [{$lang->change_user}] ]]> -