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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| WP Statistics | WP Statistics | >= 13.1.5, <= 13.1.5 |
References
- https://gist.github.com/Xib3rR4dAr/5dbd58b7f57a5037fe461fba8e696042Exploit, Third Party Advisory
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2679983%40wp-statistics&new=2679983%40wp-statistics&sfp_email=&sfph_mail=Patch, Third Party Advisory
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-25149Third Party Advisory
- https://gist.github.com/Xib3rR4dAr/5dbd58b7f57a5037fe461fba8e696042Exploit, Third Party Advisory
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2679983%40wp-statistics&new=2679983%40wp-statistics&sfp_email=&sfph_mail=Patch, Third Party Advisory
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-25149Third Party Advisory
Timeline
- Published
- Feb 24, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified