← Vulnerability feed

Vulnerability record · CVE-2021-24340 · published 7 June 2021

CVE-2021-24340: Veronalabs wp statistics sql injection vulnerability

Veronalabs · Wp Statistics

The WP Statistics WordPress plugin before 13.0.8 relied on using the WordPress esc_sql() function on a field not delimited by quotes and did not first prepare the query. Additionally, the page, which should have been accessible to administrator only, was also available to any visitor, including unauthenticated ones.

7.5 CVSS 3.1 High EPSS 30% · top 1.9% CWE-89 · SQL injection
7.5CVSS 3.1 base score, v2 5.0
30%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

The WP Statistics WordPress plugin before 13.0.8 relied on using the WordPress esc_sql() function on a field not delimited by quotes and did not first prepare the query. Additionally, the page, which should have been accessible to administrator only, was also available to any visitor, including unauthenticated ones.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-24340 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-25148WP Statistics plugin unauthenticated SQL injection via current_page_idThe WP Statistics WordPress plugin fails to escape and parameterize the current_page_id parameter in includes/class-wp-statistics-hits.php, allowing …EPSS 81%analysed9.8CVE-2017-18515Veronalabs wp statistics sql injection vulnerabilityThe wp-statistics plugin before 12.0.8 for WordPress has SQL injection.EPSS 2.5%9.8CVE-2019-13275Veronalabs wp statistics sql injection vulnerabilityAn issue was discovered in the VeronaLabs wp-statistics plugin before 12.6.7 for WordPress. The v1/hit endpoint of the API, when the non-default "use…EPSS 2.6%8.8CVE-2023-0955Veronalabs wp statistics vulnerabilityThe WP Statistics WordPress plugin before 14.0 does not escape a parameter, which could allow authenticated users to perform SQL Injection attacks. B…EPSS 0.90%8.8CVE-2022-38074Veronalabs wp statistics sql injection vulnerabilitySQL Injection vulnerability in VeronaLabs WP Statistics plugin <= 13.2.10 versions.EPSS 0.73%8.8CVE-2022-4230Veronalabs wp statistics sql injection vulnerabilityThe WP Statistics WordPress plugin before 13.2.9 does not escape a parameter, which could allow authenticated users to perform SQL Injection attacks.…EPSS 36%7.5CVE-2022-25149WP Statistics plugin unauthenticated SQL injection via IP parameterThe WP Statistics WordPress plugin fails to escape and parameterize the IP parameter in includes/class-wp-statistics-hits.php, allowing unauthenticat…EPSS 77%analysed7.5CVE-2022-0651Veronalabs wp statistics sql injection vulnerabilityThe WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the current_page_type paramete…EPSS 32%

Source: NIST National Vulnerability Database (record CVE-2021-24340), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.