Skip to content

Commit

Permalink
Escape output
Browse files Browse the repository at this point in the history
See security advisory
  • Loading branch information
redbluegreenhat committed Feb 9, 2024
1 parent 2ef0f50 commit 6942e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Helpers/ManageWikiTypes.php
Expand Up @@ -330,7 +330,7 @@ private static function common( $config, $disabled, $groupList, $name, $options,
case 'usergroups':
$groups = [];
foreach ( (array)$groupList as $group ) {
$groups[UserGroupMembership::getGroupName( $group )] = $group;
$groups[htmlspecialchars( UserGroupMembership::getGroupName( $group ) )] = $group;
}

$configs = [
Expand Down

0 comments on commit 6942e8b

Please sign in to comment.