← Vulnerability feed

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

CVE-2022-25149: WP Statistics plugin unauthenticated SQL injection via IP parameter

Veronalabs · Wp Statistics

The WP Statistics WordPress plugin fails to escape and parameterize the IP parameter in includes/class-wp-statistics-hits.php, allowing unauthenticated SQL injection in versions up to and including 13.1.5. Because the plugin is widely deployed and the flaw is reachable without credentials, it exposes site databases to direct query manipulation.

7.5 CVSS 3.1 High EPSS 77% · top 0.5% CWE-89 · SQL injection
7.5CVSS 3.1 base score, v2 5.0
77%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 SQL Injection due to insufficient escaping and parameterization of the IP parameter found in the ~/includes/class-wp-statistics-hits.php file which allows attackers without authentication to inject arbitrary SQL queries to obtain sensitive information, in versions up to and including 13.1.5.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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 priorityUnauthenticated network-reachable SQL injection with high confidentiality impact and very high EPSS, though not in KEV and limited to data disclosure.

What it is

The WP Statistics WordPress plugin fails to escape and parameterize the IP parameter in includes/class-wp-statistics-hits.php, allowing unauthenticated SQL injection in versions up to and including 13.1.5. Because the plugin is widely deployed and the flaw is reachable without credentials, it exposes site databases to direct query manipulation.

Impact

An attacker can inject arbitrary SQL to read sensitive data from the WordPress database, including user credentials, configuration and plugin data. The CVSS vector shows high confidentiality impact with no integrity or availability effect.

Attack surface

Reachable over the network through the plugin's hit-tracking endpoint that processes the IP parameter; no authentication and no user interaction are required per the CVSS vector AV:N/AC:L/PR:N/UI:N.

Exploitation

Not listed in CISA KEV, but EPSS is very high at 0.775 (99.5th percentile) and public exploit code is referenced, indicating active interest and likely exploitation.

What to do

  • Update WP Statistics to a version later than 13.1.5, which contains the patch referenced in the plugin changeset.
  • If immediate patching is not possible, disable or remove the WP Statistics plugin until it can be updated.
  • Deploy a WAF rule blocking SQL injection patterns on requests carrying the IP parameter to the plugin's hit-tracking endpoint.
  • Restrict database account privileges used by WordPress to the minimum required to limit data exposure from successful injection.

Detection

  • Review web server and WAF logs for requests to WP Statistics hit-tracking paths containing SQL keywords, quotes or comment sequences in the IP parameter.
  • Monitor database query logs for anomalous SELECT statements or UNION constructs originating from the WordPress application.
  • Audit WordPress user and option tables for unexpected changes or exfiltration indicators following suspicious plugin endpoint traffic.

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-25149 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-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%7.5CVE-2022-0513WP Statistics plugin unauthenticated SQL injection via exclusion_reasonThe WP Statistics WordPress plugin fails to escape and parameterize the exclusion_reason parameter in includes/class-wp-statistics-exclusion.php, all…EPSS 53%analysed

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