The plugin does not sanitise and escape the Project ID and Secure Code settings, which could allow high privilege users to perform Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed
Put the following payload in the Project ID or Secure Code settings (wp-admin/options-general.php?page=StatCounter-Wordpress-Plugin.php): '>