CVE-2025-13048

Official StatCounter Plugin <= 2.1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Nickname

Published Feb 19, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:18 PM
Reserved
Nov 12, 2025, 8:51 AM
Status
Deferred
Published
Feb 19, 2026, 7:17 AM
Modified
Jun 17, 2026, 8:33 AM