WP Statistics - SQLi (CVE-2022-0651)
Description
The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the current_page_type 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.
psychologyCrowdSec Analysis
CVE-2022-0651 is a critical SQL injection vulnerability in the WP Statistics WordPress plugin, affecting versions up to and including 13.1.5. This flaw allows unauthenticated attackers to inject arbitrary SQL queries via the current_page_type parameter, potentially exposing sensitive database information or enabling further attacks on the affected site.
CrowdSec has been tracking this vulnerability and its exploits since 21st of January 2026.
CrowdSec has not observed any significant exploitation activity targeting CVE-2022-0651 across its network. As a result, no community-driven trend analysis is available for this vulnerability at this time.
Attackers exploit the /wp-json/wp-statistics/v2/hit endpoint by injecting SQL payloads into the current_page_type parameter, often using time-based techniques to extract sensitive data from vulnerable WordPress sites.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2022-02-24 |
| Rule Released | 2026-01-21 |
| CrowdSec First Seen | 2026-07-15 |