Skip to content

Commit

Permalink
Fix #11397: XSS with project names in relationship table
Browse files Browse the repository at this point in the history
A malicious project name containing Javascript is not sanitised before
being printed in the relationships table (the bug view page).
  • Loading branch information
davidhicks committed Jan 15, 2010
1 parent cb5ca45 commit 0995c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/relationship_api.php
Expand Up @@ -676,7 +676,7 @@ function relationship_get_details( $p_bug_id, $p_relationship, $p_html = false,

# add project name
if( $p_show_project ) {
$t_relationship_info_html .= $t_td . $t_related_project_name . '&nbsp;</td>';
$t_relationship_info_html .= $t_td . string_display_line( $t_related_project_name ) . '&nbsp;</td>';
}

# add summary
Expand Down

0 comments on commit 0995c23

Please sign in to comment.