What the vulnerability does
01Description
The StatCounter – Free Real Time Visitor Stats plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the user's Nickname in all versions up to, and including, 2.1.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
StatCounter versions up to 2.1.0 contain a cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts. The vulnerability has scope change, meaning injected code can affect other users or components beyond the vulnerable feature. An attacker with low-level account access can craft malicious input that executes in other users' browsers when they view affected pages.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that execute in other users' browsers and potentially affect other site components.
Potential impact on your site
04Site Impact
Authenticated users can inject scripts affecting other visitors; potential for session hijacking, credential theft, or malware distribution.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege account on the site; no user interaction required from the victim.
Key dates
06Disclosure timeline
February 19, 2026
CVE published
April 8, 2026
Record updated