diff --git a/CHANGELOG.md b/CHANGELOG.md index 7703fab7885..50790c4f535 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ Fixes: Enterprise Fixes: - [data-manager] Fixed editing an event whose key contains `&` creating undeletable duplicate rows in the events table +Security Fixes: +- [core] The graph note tooltip now HTML-encodes the application name before rendering, so an application name is shown as text rather than markup + ## Version 24.05.51 Fixes: diff --git a/frontend/express/public/javascripts/countly/countly.common.js b/frontend/express/public/javascripts/countly/countly.common.js index ef7e9a15298..b055dc877b1 100644 --- a/frontend/express/public/javascripts/countly/countly.common.js +++ b/frontend/express/public/javascripts/countly/countly.common.js @@ -1115,7 +1115,7 @@ var noteTime = moment(notes[0].ts).format("D MMM, HH:mm"); var noteId = notes[0].app_id; var app = countlyGlobal.apps[noteId] || {}; - titleDom = "
" + noteTime + "
" + app.name + "
" + + titleDom = "
" + noteTime + "
" + countlyCommon.encodeHtml(app.name) + "
" + "
" + notes[0].note + "
" + "" + "
";