Fix StatisticsServlet Vulnerabilities