Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix another injection in ipv4 search page (#15312)
  • Loading branch information
murrant committed Sep 14, 2023
1 parent 1194934 commit e4c46a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/html/pages/search/ipv4.inc.php
Expand Up @@ -73,7 +73,7 @@
"</select>"+
"</div>&nbsp;"+
"<div class=\"form-group\">"+
"<input type=\"text\" name=\"address\" id=\"address\" size=40 value=\"<?php echo $_POST['address']; ?>\" class=\"form-control input-sm\" placeholder=\"IPv4 Address\"/>"+
"<input type=\"text\" name=\"address\" id=\"address\" size=40 value=\"<?php echo htmlspecialchars($_POST['address']); ?>\" class=\"form-control input-sm\" placeholder=\"IPv4 Address\"/>"+
"</div>&nbsp;"+
"<button type=\"submit\" class=\"btn btn-default input-sm\">Search</button>"+
"</form></span></div>"+
Expand Down

0 comments on commit e4c46a4

Please sign in to comment.