Skip to content
Permalink
Browse files

Prevent Stored XSS Vulnerability

  • Loading branch information...
c0d3G33k committed Jan 24, 2018
1 parent 8c318cd commit 388ab412035474068758df6b07e7e06852f3747b
Showing with 2 additions and 1 deletion.
  1. +2 −1 plugins/box/pages/pages.plugin.php
@@ -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);
}
/**

0 comments on commit 388ab41

Please sign in to comment.
You can’t perform that action at this time.