diff --git a/docs/NEWS b/docs/NEWS index 038c8466..8d86f1c8 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -1,6 +1,8 @@ Version 2.4-alpha1 () ------------------------------------------------------------------------ + * Fix: Escape version string in update notifier to avoid XSS. + * Fix: Prevent renaming a ML object into an existing file, resulting in deletion of both from disk and database. diff --git a/templates/2k11/admin/overview.inc.tpl b/templates/2k11/admin/overview.inc.tpl index 8c89b979..8306b7a7 100644 --- a/templates/2k11/admin/overview.inc.tpl +++ b/templates/2k11/admin/overview.inc.tpl @@ -30,7 +30,7 @@

{$CONST.UPDATE_NOTIFICATION}

- {$CONST.NEW_VERSION_AVAILABLE} {$curVersion} + {$CONST.NEW_VERSION_AVAILABLE} {$curVersion|escape} {$updateButton}

@@ -41,7 +41,7 @@

{$CONST.UPDATE_NOTIFICATION}

- {$pluginUpdates} + {$pluginUpdates|escape}

{/if}