CVE-2022-25148: The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameteriz
CVE-2022-25148 is a critical-severity flaw (CVSS 9.8) affecting wp statistics. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the current_page_id 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.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 80.9% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2022-02-24 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: gist.github.com/Xib3rR4dAr/5dbd58b7f57a5037fe461fba8e696042
- Exploit-DB: WP Statistics Plugin 13.1.5 current_page_id - Time based SQL injection (Unauthenticated)
- Nuclei scan template: WordPress Plugin WP Statistics <= 13.1.5 - SQL Injection
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-25148?
wp statistics: upgrade to newer than 13.1.5. Exact commands for each OS are on this page.
Is CVE-2022-25148 being exploited?
CVE-2022-25148 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-25148 affect?
CVE-2022-25148 affects wp statistics. Severity is critical (CVSS 9.8). The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the current_page_id parameter found in the ~/includes/class-wp-statistics-hits.php file which allows attackers without au
How urgent is CVE-2022-25148?
Priority 69/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
WordPress vulnerabilities · PHP vulnerabilities
Related CVEs
- CVE-2023-0955 HIGH 8.8 UPGRADE The WP Statistics WordPress plugin before 14.0 does not escape a parameter, which could allow authenticated us
- CVE-2022-4230 HIGH 8.8 UPGRADE The WP Statistics WordPress plugin before 13.2.9 does not escape a parameter, which could allow authenticated
- CVE-2022-38074 HIGH 7.1 UPGRADE SQL Injection vulnerability in VeronaLabs WP Statistics plugin <= 13.2.10 versions.
- CVE-2022-27231 MEDIUM 6.1 UPGRADE Cross-site scripting vulnerability exists in WP Statistics versions prior to 13.2.0 because it improperly proc
- CVE-2022-25307 HIGH 7.2 UPGRADE The WP Statistics WordPress plugin is vulnerable to Cross-Site Scripting due to insufficient escaping and sani