Description
The Animated Number Counters plugin for WordPress is vulnerable to generic SQL Injection via the 'counterid' parameter in all versions up to, and including, 3.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with editor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This is a second-order SQL injection: the write path correctly uses $wpdb->prepare(), but that protection is not carried forward to the read path, where the retrieved value is concatenated unsanitized into unprepared queries in both a single-quoted string context and a bare numeric context.
Published: 2026-10-13
Score: 4.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: SQL Injection (Sensitive Data Exposure)
Action: Patch
AI Analysis

Impact

The Animated Number Counters plugin for WordPress contains a second‑order SQL injection vulnerability triggered via the "counterid" parameter. The plugin correctly sanitizes input when writing data, but the same sanitization is not applied when reading data, resulting in an unsanitized query that allows an attacker to append arbitrary SQL code. If successfully exploited, an attacker can read any table from the database, exposing sensitive information such as user credentials, posts, and configuration settings.

Affected Systems

This flaw affects every installation of the Animated Number Counters plugin for WordPress with a version of 3.0 or earlier. The vendor listed by the CNA is WPMart, and the affected product is the Animated Number Counters plugin. No version exclusions are specified other than the upper bound of 3.0.

Risk and Exploitability

The CVSS score of 4.9 classifies the vulnerability as moderate severity. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. To exploit the flaw, an attacker must be authenticated to the WordPress site with at least editor-level privileges and supply a malicious value for the counterid parameter through the plugin's administrative interface. This second‑order SQL injection does not rely on network-level exploits or client side manipulation; the needed conditions are application‑level access and insufficient input sanitization.

Generated by OpenCVE AI on October 13, 2026 at 09:50 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Animated Number Counters plugin to a version newer than 3.0, where the counterid input is safely parameterized or sanitized.
  • If an immediate upgrade is not possible, limit the use of the plugin to user roles with privileges below editor, thereby preventing any authorized editor or administrator from accessing the counter management screens.
  • As a temporary workaround, modify the plugin’s source files (for example, functions.php and number-counter-save.php) to wrap the counterid value in $wpdb->prepare() or otherwise apply proper input validation before incorporating it into SQL queries.

Generated by OpenCVE AI on October 13, 2026 at 09:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions animated Number Counters
Wpmart
Wpmart animated Number Counters
Vendors & Products Wordpress-extensions
Wordpress-extensions animated Number Counters
Wpmart
Wpmart animated Number Counters

Tue, 13 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 08:00:00 +0000

Type Values Removed Values Added
Description The Animated Number Counters plugin for WordPress is vulnerable to generic SQL Injection via the 'counterid' parameter in all versions up to, and including, 3.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with editor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This is a second-order SQL injection: the write path correctly uses $wpdb->prepare(), but that protection is not carried forward to the read path, where the retrieved value is concatenated unsanitized into unprepared queries in both a single-quoted string context and a bare numeric context.
Title Animated Number Counters <= 3.0 - Authenticated (Editor+) SQL Injection via 'counterid' Parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Wordpress-extensions Animated Number Counters
Wpmart Animated Number Counters
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-13T13:16:47.378Z

Reserved: 2026-07-10T13:26:55.433Z

Link: CVE-2026-15399

cve-icon Vulnrichment

Updated: 2026-10-13T13:16:42.735Z

cve-icon NVD

Status : Deferred

Published: 2026-10-13T08:17:00.590

Modified: 2026-10-13T14:17:36.647

Link: CVE-2026-15399

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T20:00:11Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')