← Vulnerability feed

Vulnerability record · CVE-2022-25305 · published 24 February 2022

CVE-2022-25305: WP Statistics plugin IP parameter stored XSS in admin statistics pages

Veronalabs · Wp Statistics

The WP Statistics WordPress plugin fails to escape and sanitize the IP parameter in includes/class-wp-statistics-ip.php, allowing arbitrary script injection. Injected scripts execute when site administrators view the statistics pages, in versions up to and including 13.1.5.

6.1 CVSS 3.1 Medium EPSS 79% · top 0.4% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score, v2 4.3
79%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

The WP Statistics WordPress plugin is vulnerable to Cross-Site Scripting due to insufficient escaping and sanitization of the IP parameter found in the ~/includes/class-wp-statistics-ip.php file which allows attackers to inject arbitrary web scripts onto several pages that execute when site administrators view a sites statistics, in versions up to and including 13.1.5.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityPublic exploit code and a very high EPSS score make exploitation likely despite the medium CVSS rating and required user interaction.

What it is

The WP Statistics WordPress plugin fails to escape and sanitize the IP parameter in includes/class-wp-statistics-ip.php, allowing arbitrary script injection. Injected scripts execute when site administrators view the statistics pages, in versions up to and including 13.1.5.

Impact

An attacker can run arbitrary JavaScript in an authenticated administrator's browser, enabling session theft, privilege abuse, or further compromise of the WordPress site.

Attack surface

Reachable over the network without authentication; the victim administrator must view the affected statistics pages, so user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:R).

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.789, 99.6th percentile) and a public exploit reference exists, indicating meaningful real-world exploitation likelihood.

What to do

  • Update WP Statistics to a version newer than 13.1.5 (patch changeset 2679983).
  • If immediate patching is not possible, disable or remove the plugin until it can be updated.
  • Restrict access to WordPress admin statistics pages to trusted administrators only.
  • Review administrator accounts and sessions for signs of compromise after exposure.

Detection

  • Inspect web server and WordPress logs for requests containing script payloads in the IP parameter.
  • Monitor for unexpected JavaScript or iframe content rendered on WP Statistics admin pages.
  • Audit administrator sessions for anomalous activity following statistics page views.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-25305 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-25148WP Statistics plugin unauthenticated SQL injection via current_page_idThe WP Statistics WordPress plugin fails to escape and parameterize the current_page_id parameter in includes/class-wp-statistics-hits.php, allowing …EPSS 81%analysed9.8CVE-2017-18515Veronalabs wp statistics sql injection vulnerabilityThe wp-statistics plugin before 12.0.8 for WordPress has SQL injection.EPSS 2.5%9.8CVE-2019-13275Veronalabs wp statistics sql injection vulnerabilityAn issue was discovered in the VeronaLabs wp-statistics plugin before 12.6.7 for WordPress. The v1/hit endpoint of the API, when the non-default "use…EPSS 2.6%8.8CVE-2023-0955Veronalabs wp statistics vulnerabilityThe WP Statistics WordPress plugin before 14.0 does not escape a parameter, which could allow authenticated users to perform SQL Injection attacks. B…EPSS 0.90%8.8CVE-2022-38074Veronalabs wp statistics sql injection vulnerabilitySQL Injection vulnerability in VeronaLabs WP Statistics plugin <= 13.2.10 versions.EPSS 0.73%8.8CVE-2022-4230Veronalabs wp statistics sql injection vulnerabilityThe WP Statistics WordPress plugin before 13.2.9 does not escape a parameter, which could allow authenticated users to perform SQL Injection attacks.…EPSS 36%7.5CVE-2022-25149WP Statistics plugin unauthenticated SQL injection via IP parameterThe WP Statistics WordPress plugin fails to escape and parameterize the IP parameter in includes/class-wp-statistics-hits.php, allowing unauthenticat…EPSS 77%analysed7.5CVE-2022-0651Veronalabs wp statistics sql injection vulnerabilityThe WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the current_page_type paramete…EPSS 32%

Source: NIST National Vulnerability Database (record CVE-2022-25305), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.