diff --git a/apps/updatenotification/js/notification.js b/apps/updatenotification/js/notification.js index d5463174e4..913a59e042 100644 --- a/apps/updatenotification/js/notification.js +++ b/apps/updatenotification/js/notification.js @@ -18,7 +18,7 @@ $(document).ready(function(){ version = oc_updateState.updateVersion, docLink = oc_updateState.updateLink, text = t('core', '{version} is available. Get more information on how to update.', {version: version}), - element = $(''+text+''); + element = $(''+escapeHTML(text)+''); OC.Notification.showTemporary( element,