Description
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.
Published: 2026-02-19
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting via user Nickname
Action: Apply Patch
AI Analysis

Impact

The StatCounter plugin for WordPress contains a stored cross‑site scripting flaw that allows attackers with Contributor or higher privileges to embed arbitrary JavaScript using the user Nickname field. The injected code is stored and rendered each time a page that displays the nickname is viewed, enabling malicious scripts to run in the context of any site visitor. This vulnerability corresponds to CWE‑79, where insufficient input validation and output escaping give an attacker code‑execution capabilities on the client side.

Affected Systems

The affected product is the StatCounter – Free Real Time Visitor Stats WordPress plugin, versions up to and including 2.1.0.

Risk and Exploitability

With a CVSS score of 6.4 the issue is considered medium severity. The EPSS probability is below 1 %, indicating that the likelihood of exploitation is currently very low, and the vulnerability is not listed in the CISA KEV catalog. However, exploitation requires an authenticated account with Contributor or higher permissions, so the risk remains for sites that have not upgraded the plugin and have such user roles in place.

Generated by OpenCVE AI on April 21, 2026 at 00:11 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the StatCounter plugin to version 2.1.1 or later where the Nickname sanitization is fixed.
  • If an upgrade is delayed, replace any stored nicknames that contain scripts or disallow script content in existing nicknames.
  • Audit the plugin code or configuration to ensure all user‑supplied data is properly escaped before rendering on webpages.

Generated by OpenCVE AI on April 21, 2026 at 00:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 20 Feb 2026 01:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 19 Feb 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Statcounter
Statcounter statcounter – Free Real Time Visitor Stats
Wordpress
Wordpress wordpress
Vendors & Products Statcounter
Statcounter statcounter – Free Real Time Visitor Stats
Wordpress
Wordpress wordpress

Thu, 19 Feb 2026 04:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Official StatCounter Plugin <= 2.1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Nickname
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Statcounter Statcounter – Free Real Time Visitor Stats
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:18:50.010Z

Reserved: 2025-11-12T08:51:02.962Z

Link: CVE-2025-13048

cve-icon Vulnrichment

Updated: 2026-02-19T17:04:18.492Z

cve-icon NVD

Status : Deferred

Published: 2026-02-19T07:17:29.643

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-13048

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T00:15:16Z

Weaknesses