Vulnerability Report
Plugin Critical Patch path listed CVE-2022-0513

WP Statistics <= 13.1.4 - Unauthenticated Blind SQL Injection

The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the exclusion_reason parameter found in the ~/includes/class-wp-statistics-exclusion.php file which allows attackers without authentication to inject arbitrary SQL queries to obtain sensitive information, in versions up to and including 13.1.4. This requires the "Record Exclusions" option to be enabled on the vulnerable site.

Quick Answer

CVE-2022-0513 is a critical severity with CVSS 9.8 SQL Injection issue affecting the Plugin WP Statistics – Simple, privacy-friendly Google Analytics alternative. It affects Versions up to 13.1.4 and is fixed in 13.1.5.

Published
Feb 10, 2022
Last Updated
Jan 22, 2024
Slug
wp-statistics
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 13.1.5, or a newer patched version
Operator Briefing

CVE-2022-0513 is tracked for the Plugin WP Statistics – Simple, privacy-friendly Google Analytics alternative as critical severity with CVSS 9.8. The affected range is Versions up to 13.1.4. Update WP Statistics – Simple, privacy-friendly Google Analytics alternative to 13.1.5 or newer where that version is compatible with the site.

Issue Type
SQL Injection
Primary Fixed Version
13.1.5
Primary Affected Range
Versions up to 13.1.4
Tracking ID
CVE-2022-0513
Detailed Metadata
Software Type Plugin
Software Slug
wp-statistics View on wordpress.org
CVE CVE-2022-0513
Patched Versions
13.1.5
Affected Versions
Versions up to 13.1.4
Related CVE Cluster

Related CVEs for WP Statistics – Simple, privacy-friendly Google Analytics alternative

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

Critical CVE-2022-0651 13.1.6 Feb 16, 2022
CVE-2022-0651 WP Statistics – Simple, privacy-friendly Google Analytics alternative SQL Injection

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

Critical CVE-2022-25149 13.1.6 Feb 16, 2022
CVE-2022-25149 WP Statistics – Simple, privacy-friendly Google Analytics alternative SQL Injection

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

Critical CVE-2022-25148 13.1.6 Feb 16, 2022
CVE-2022-25148 WP Statistics – Simple, privacy-friendly Google Analytics alternative SQL Injection

WP Statistics <= 13.1.5 - Unauthenticated SQL Injection

Critical CVE-2019-13275 12.6.7 Jul 01, 2019
CVE-2019-13275 WP Statistics – Simple, privacy-friendly Google Analytics alternative SQL Injection

WP Statistics <= 12.6.6.1 - Unauthenticated Blind SQL Injection

High CVE-2022-38074 13.2.11 Jan 31, 2023
CVE-2022-38074 WP Statistics – Simple, privacy-friendly Google Analytics alternative SQL Injection

WP Statistics <= 13.2.10 - Authenticated (Subscriber+) SQL Injection

High CVE-2017-18515 12.0.8 Jun 30, 2017
CVE-2017-18515 WP Statistics – Simple, privacy-friendly Google Analytics alternative SQL Injection

WP Statistics <= 12.0.7 - Authenticated SQL Injection

High CVE-2021-24340 13.0.8 May 19, 2021
CVE-2021-24340 WP Statistics – Simple, privacy-friendly Google Analytics alternative SQL Injection

WP Statistics <= 13.0.7 - Unauthenticated SQL Injection

High CVE-2026-5231 14.16.5 Apr 16, 2026
CVE-2026-5231 WP Statistics – Simple, privacy-friendly Google Analytics alternative Stored Cross-Site Scripting

WP Statistics <= 14.16.4 - Unauthenticated Stored Cross-Site Scripting via 'utm_source' Parameter

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
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. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE 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 Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more