WP Statistics (WordPress plugin): is it safe?

Short answer: Version 14.0 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

WordPress wp-statistics has 18 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.

18advisories
6critical
0on CISA KEV
12no fix recorded
CVETitleSeverityCVSSAffectedFixed in
CVE-2022-25148The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the current_page_id pcritical9.8<=13.1.5–
CVE-2022-25305The WP Statistics WordPress plugin is vulnerable to Cross-Site Scripting due to insufficient escaping and sanitization of the IP parameter fhigh7.2<=13.1.5–
CVE-2022-25149The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the IP parameter founcritical9.8<=13.1.5–
CVE-2022-0513The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the exclusion_reason critical9.8<=13.1.4–
CVE-2022-4230The WP Statistics WordPress plugin before 13.2.9 does not escape a parameter, which could allow authenticated users to perform SQL Injectionhigh8.8<13.2.913.2.9
CVE-2022-0651The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the current_page_typecritical9.8<=13.1.5–
CVE-2021-24340The WP Statistics WordPress plugin before 13.0.8 relied on using the WordPress esc_sql() function on a field not delimited by quotes and didhigh7.5<13.0.813.0.8
CVE-2019-13275An 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-defcritical9.8<=12.6.6–
CVE-2017-18515The wp-statistics plugin before 12.0.8 for WordPress has SQL injection.critical9.8<12.0.812.0.8
CVE-2019-10864The WP Statistics plugin through 12.6.2 for WordPress has XSS, allowing a remote attacker to inject arbitrary web script or HTML via the Refmedium6.1<=12.6.2–
CVE-2022-25306The WP Statistics WordPress plugin is vulnerable to Cross-Site Scripting due to insufficient escaping and sanitization of the browser paramehigh7.2<=13.1.5–
CVE-2022-25307The WP Statistics WordPress plugin is vulnerable to Cross-Site Scripting due to insufficient escaping and sanitization of the platform paramhigh7.2<=13.1.5–
CVE-2019-12566The WP Statistics plugin through 12.6.5 for Wordpress has stored XSS in includes/class-wp-statistics-pages.php. This is related to an accounmedium5.4<=12.6.5–
CVE-2022-1005The WP Statistics WordPress plugin before 13.2.2 does not sanitise the REQUEST_URI parameter before outputting it back in the rendered page,medium6.1<13.2.213.2.2
CVE-2023-0955The WP Statistics WordPress plugin before 14.0 does not escape a parameter, which could allow authenticated users to perform SQL Injection ahigh8.8<14.014.0
CVE-2017-10991The WP Statistics plugin through 12.0.9 for WordPress has XSS in the rangestart and rangeend parameters on the wps_referrers_page page.medium6.1<=12.0.9–
CVE-2018-1000556WordPress version 4.8 + contains a Cross Site Scripting (XSS) vulnerability in plugins.php or core wordpress on delete function that can resmedium6.1<12.0.612.0.6
CVE-2021-4333The WP Statistics plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 13.1.1. This is due to medium6.5<=13.1.1–

Quick answers

Is WP Statistics safe to use?

Version 14.0 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Is WP Statistics being actively exploited?

None of its 18 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.

How do I check my own site?

Run `phpwarden wordpress /path/to/wordpress`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /path/to/wordpress

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /path/to/wordpress

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.

Add this status to your README

phpwarden status badge

Maintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.

[![phpwarden](https://phpwarden.io/badge/wordpress-plugin/wp-statistics.svg)](https://phpwarden.io/packages/wordpress-plugin/wp-statistics)