Skip to content
Permalink
Browse files Browse the repository at this point in the history
Prevent Stored XSS Vulnerability
  • Loading branch information
c0d3G33k committed Jan 24, 2018
1 parent 8c318cd commit 388ab41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/box/pages/pages.plugin.php
Expand Up @@ -283,7 +283,8 @@ public static function content($slug = '')
*/
public static function title()
{
return !empty(Pages::$page['meta_title']) ? Pages::$page['meta_title'] : Pages::$page['title'];
$test = !empty(Pages::$page['meta_title']) ? Pages::$page['meta_title'] : Pages::$page['title'];
return htmlspecialchars($test);
}

/**
Expand Down

0 comments on commit 388ab41

Please sign in to comment.