mirror of
https://github.com/webmin/webmin.git
synced 2025-07-29 11:50:54 +00:00
Fix XSS in webmin search
This commit is contained in:
@ -12,7 +12,7 @@ do 'webmin-search-lib.pl';
|
||||
$prod = &get_product_name();
|
||||
$ucprod = ucfirst($prod);
|
||||
&ui_print_unbuffered_header(undef,
|
||||
$in{'title'} || &text('wsearch_title', $ucprod), "", undef, 0, 1);
|
||||
&html_escape($in{'title'}) || &text('wsearch_title', $ucprod), "", undef, 0, 1);
|
||||
|
||||
# Validate search text
|
||||
$re = $in{'search'};
|
||||
|
Reference in New Issue
Block a user