bug #4502 [security] Self-XSS in enum value editor

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Madhura Jayaratne 2014-08-17 08:47:53 -04:00 committed by Marc Delisle
parent 647c9d12e3
commit 2c45d7caa6
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ phpMyAdmin - ChangeLog
4.2.7.1 (2014-08-17)
- bug #4501 [security] XSS in table browse page
- bug #4502 [security] Self-XSS in enum value editor
- bug #4505 [security] XSS in view operations page
4.2.7.0 (2014-07-31)

View File

@ -2692,7 +2692,7 @@ AJAX.registerOnload('functions.js', function () {
} else {
title = PMA_messages.enum_columnVals.replace(
/%s/,
'"' + decodeURIComponent(colname) + '"'
'"' + escapeHtml(decodeURIComponent(colname)) + '"'
);
}
// Get the values as a string