Skip to content

Commit

Permalink
Fix XSS in normalization.php
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information
madhuracj committed Jan 18, 2016
1 parent 5aee503 commit 019c4f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/normalization.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function goToFinish1NF()
}
$("#mainContent legend").html(PMA_messages.strEndStep);
$("#mainContent h4").html(
"<h3>" + PMA_sprintf(PMA_messages.strFinishMsg, PMA_commonParams.get('table')) + "</h3>"
"<h3>" + PMA_sprintf(PMA_messages.strFinishMsg, escapeHtml(PMA_commonParams.get('table'))) + "</h3>"
);
$("#mainContent p").html('');
$("#mainContent #extra").html('');
Expand Down

0 comments on commit 019c4f2

Please sign in to comment.