LiveActive security incident?Get immediate response
CVE Record

CVE-2021-24340: WP Statistics < 13.0.8 - Unauthenticated SQL Injection

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This flaw affected the WP Statistics WordPress plugin before 13.0.8. A page intended for administrators was reachable by unauthenticated visitors, and unsafe SQL query handling could allow database-level injection. For organizations with public WordPress sites using this plugin, the business concern is potential exposure of website database data or integrity risk.

Executive priority

Treat this as a high-priority internet-facing WordPress plugin issue. Prioritize sites that process sensitive visitor, customer, or operational data, because the vulnerability combines unauthenticated access with SQL injection risk.

Technical view

CVE-2021-24340 is a CWE-89 SQL injection in VeronaLabs WP Statistics before 13.0.8. The plugin used esc_sql() on an unquoted field without preparing the query, and the vulnerable page was not restricted to administrators. The source bundle does not provide CVSS metrics or detailed exploit prerequisites beyond unauthenticated access.

Likely exposure

Exposure is limited to WordPress sites running WP Statistics versions before 13.0.8. Wordfence reported broad install-base impact in 2021, but current exposure depends on each site’s plugin inventory and patch status.

Exploitation context

The source bundle does not show CISA KEV listing and provides no cited evidence of active exploitation. The notable risk factor is unauthenticated reachability of a vulnerable plugin page on public WordPress sites.

Researcher notes

The strongest source-grounded facts are the pre-13.0.8 affected range, unauthenticated page exposure, unsafe query construction, and CWE-89 classification. CVSS and exploitation evidence are absent from the provided bundle, so avoid asserting known exploitation or quantified severity.

Mitigation direction

  • Upgrade WP Statistics so the installed version is not below 13.0.8.
  • Confirm affected public WordPress sites have the vulnerable plugin updated or removed.
  • Check vendor and WordPress plugin guidance for any newer security recommendations.
  • Restrict administrative plugin surfaces according to WordPress hardening practices.

Validation and detection

  • Inventory WordPress sites for the WP Statistics plugin and installed version.
  • Confirm no site is running WP Statistics below 13.0.8.
  • Review web logs for suspicious access to WP Statistics plugin pages.
  • Document remediation status for every public WordPress property.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-24340 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
VeronaLabsWP Statistics13.0.8Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.