CVE-2021-24340 in the critical feed json
WP Statistics < 13.0.8 - Unauthenticated SQL Injection
published 2021-06-07 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-11253
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 29.8%
- EPSS 29.8% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- veronalabs wp_statistics 13.0.8
Exploit prediction
29.78% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template WordPress Statistics <13.0.8 - Blind SQL Injection nuclei detection template
- wpscan.com https://wpscan.com/vulnerability/d2970cfb-0aa9-4516-9a4b-32971f41a19c referenced PoC, tagged "exploit" by a source, unverified
- wordfence.com https://www.wordfence.com/blog/2021/05/over-600000-sites-impacted-by-wp-statistics-patch/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected products
- VeronaLabs WP Statistics
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
- Technology feeds
References
-
wpscan.com
/vulnerability/d2970cfb-0aa9-4516-9a4b-32971f41a19c
exploit, third-party-advisory
-
wordfence.com
/blog/2021/05/over-600000-sites-impacted-by-wp-statistics-patch/
exploit, third-party-advisory
Sources
- CVE List CVE-2021-24340
- NVD CVE-2021-24340
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.