---
id: CVE-2026-15399
title: >-
  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
  suff…
summary: >-
  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
  suff…
severity: medium
cvss: 4.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-89
published: '2026-10-13'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T08:17:00.590'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-15399'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/animated-number-counters/tags/2.7/settings/counters/counter-01.php#L20
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/animated-number-counters/tags/2.7/settings/counters/counter-01.php#L61
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/animated-number-counters/tags/2.7/settings/helper/functions.php#L312
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/animated-number-counters/tags/2.7/settings/helper/number-counter-save.php#L8
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/animated-number-counters/tags/2.8/settings/counters/counter-01.php#L20
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/animated-number-counters/tags/2.8/settings/counters/counter-01.php#L61
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/animated-number-counters/tags/2.8/settings/helper/functions.php#L312
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/animated-number-counters/tags/2.8/settings/helper/number-counter-save.php#L8
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3603796/animated-number-counters/trunk/settings/counters/counter-01.php
    label: security@wordfence.com
  - url: 'https://wordpress.org/plugins/animated-number-counters'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/fed4591b-b7e3-4a55-a747-1c17f6c6f643?source=cve
    label: security@wordfence.com
tags:
  - nvd
ingestedAt: '2026-10-13T08:19:03.894Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
