bug #4503 [security] Self-XSSes in monitor

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2014-08-06 07:28:14 +05:30
parent 0433d463b6
commit 3668255202
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ phpMyAdmin - ChangeLog
4.0.10.1 (Not yet released)
- bug #4501 [security] XSS in table browse page
- bug #4502 [security] Self-XSS in enum value editor
- bug #4503 [security] Self-XSSes in monitor
4.0.10.1 (2014-07-17)
- bug #4488 [security] XSS injection due to unescaped table name (triggers)

View File

@ -996,7 +996,7 @@ AJAX.registerOnload('server_status_monitor.js', function() {
label: $('#variableInput').val().replace(/_/g, " ")
};
newChart.series.push(newSeries);
$('#seriesPreview').append('- ' + newSeries.label + str + '<br/>');
$('#seriesPreview').append('- ' + escapeHtml(newSeries.label + str) + '<br/>');
newChart.nodes.push(serie);
$('#variableInput').val('');
$('input[name="differentialValue"]').prop('checked', true);