CVE-2026-15399

Animated Number Counters <= 3.0 - Authenticated (Editor+) SQL Injection via 'counterid' Parameter

Published Oct 13, 2026 CVSS 3.1 · 4.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-89

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 13, 2026, 1:16 PM
Reserved
Jul 10, 2026, 1:26 PM
Status
Deferred
Published
Oct 13, 2026, 8:17 AM
Modified
Oct 13, 2026, 2:17 PM