Skip to content

Commit

Permalink
fix: [security] Fix reflected xss via unsanitized URL parameters
Browse files Browse the repository at this point in the history
- As reported by an external pentest company on behalf of the Centre for Cyber security Belgium (CCB)
  • Loading branch information
mokaddem committed Mar 6, 2020
1 parent 3182790 commit 43a0757
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/View/Users/statistics_orgs.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
'external' => array('selected' => false, 'text' => __('Known remote organisations')),
'all' => array('selected' => false, 'text' => __('All organisations'))
);
$types[$scope]['selected'] = true;
if (isset($types[$scope])) {
$types[$scope]['selected'] = true;
}
?>
<h4><?php echo __('Organisation list');?></h4>
<p><?php echo __('Quick overview over the organisations residing on or known by this instance.');?></p>
Expand Down

0 comments on commit 43a0757

Please sign in to comment.