# CVE-2022-0513: WP Statistics <= 13.1.4 Unauthenticated Blind SQL Injection via exclusion_reason

- Severity: Critical 9.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 53.5%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-16T16:38:03.000Z
- Modified: 2026-06-17T04:20:45.213Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Wordfence

## Description

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.

(As written by CVE List.)

## Affected

- VeronaLabs WP Statistics: from 13.1.4 up to 13.1.4
- veronalabs wp_statistics: up to 13.1.4

## Every score

- Wordfence: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://www.wordfence.com/blog/2022/02/unauthenticated-sql-injection-vulnerability-patched-in-wordpress-statistics-plugin/> (exploit, patch, third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset/2671297/wp-statistics/trunk/includes/class-wp-statistics-hits.php> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-0513](https://www.cve.org/CVERecord?id=CVE-2022-0513), CVE Terms of Use, modified 2025-02-10
- NVD: [CVE-2022-0513](https://nvd.nist.gov/vuln/detail/CVE-2022-0513), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0513 · Whole record: https://cve.day/CVE-2022-0513.json · Rebuilt by cve.day 2026-11-25T22:58:09.715Z
