CVE-2021-24340: veronalabs wp_statistics SQL Injection
Vulnerability summary
CVE-2021-24340 is a high (CVSS 7.5) SQL Injection vulnerability in veronalabs wp_statistics. EPSS estimates a 29.78% chance of exploitation in the next 30 days, higher than 98.1% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 07-06-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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 metrics
3 scores · 2 sources · 2 versions- wordfenceSource7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
29.78%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
0.00 pp
From 29.78% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (wpscan.com)
Maturity: unknown
Exploit Reference (wordfence.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Veronalabs1 product
- wp_statistics≥ 13.0.8, < 13.0.8 | < 13.0.8
Wordpress1 product
- wp-statistics< 13.0.8
2 vendors · 2 products
References
3 links- wpscan.com/vulnerability/d2970cfb-0aa9-4516-9a4b-32971f41a19cX Refsource CONFIRMExploitThird Party Advisory
- www.wordfence.com/blog/2021/05/over-600000-sites-impacted-by-wp-statistics-patch/X Refsource MISCExploitThird Party Advisory