WP Statistics <= 13.1.5 - Unauthenticated Blind SQL Injection via current_page_type

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2022-0651
CVSS Critical (9.8)
Publicly Published February 16, 2022
Last Updated January 22, 2024
Researcher Muhammad Zeeshan (Xib3rR4dAr)
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.

References

1 affected software package

Software Type Plugin
Software Slug wp-statistics (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 13.1.5
Patched Version
  • 13.1.6
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.