Skip to content

Commit

Permalink
Fix module library XSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Calvo committed Oct 31, 2022
1 parent aae620c commit 7bdf103
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pandora_console/include/javascript/module_library.js
Expand Up @@ -154,8 +154,10 @@ $(document).ready(function() {

if (selector == "search") {
$("#search_title_result h2").append(
"<span class='pandora_green_text'>" + search_modules + "</span>"
"<span class='pandora_green_text' id='search_string'></span>"
);

$("#search_string").text(search_modules);
}

if (total_posts < 1) {
Expand Down

0 comments on commit 7bdf103

Please sign in to comment.