Skip to content

Commit

Permalink
Fix #11933: XSS via project_id_filter_target (filter advanced view)
Browse files Browse the repository at this point in the history
A project name containing malicious scripting code could be printed out
the browser directly without sanitisation in the filter advanced view
when selecting projects to filter by.

Note that to exploit this bug, a user must have access to create/modify
projects on a MantisBT installation. Normally these users are trusted
(or are the system administrators of the MantisBT installation) so this
attack vector is subsequently limited in severity.
  • Loading branch information
davidhicks committed May 17, 2010
1 parent 269c843 commit 9d5880b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/filter_api.php
Expand Up @@ -3354,7 +3354,7 @@ function <?php echo $t_js_toggle_func;?>() {
} else {
$t_first_flag = false;
}
$t_output = $t_output . $t_this_name;
$t_output = $t_output . string_display_line( $t_this_name );
}
echo $t_output;
}
Expand Down

0 comments on commit 9d5880b

Please sign in to comment.