Description
The Coupon API plugin for WordPress is vulnerable to SQL Injection via the ‘log_duration’ parameter in all versions up to, and including, 6.2.12 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 Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Published: 2025-09-11
Score: 4.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: SQL Injection allowing data extraction
Action: Apply Patch
AI Analysis

Impact

A flaw in the Coupon API WordPress plugin permits authenticated administrators to inject arbitrary SQL through the log_duration parameter. The insufficient escaping and lack of prepared statements enable the attacker to append new queries to the existing statement, potentially exposing sensitive database contents. This vulnerability directly affects the confidentiality of data stored in the WordPress database.

Affected Systems

The vulnerability applies to all releases of the Coupon API plugin up to and including version 6.2.12. The affected product is managed by kamilkhan and is used as a WordPress plugin. No further sub‑version details are provided.

Risk and Exploitability

The CVSS score of 4.9 indicates moderate severity and the EPSS score of less than 1% shows a very low current exploitation probability. Because the flaw requires Administrator‑level authentication, the attack surface is limited to privileged users, and it is not listed in CISA’s KEV catalog. Exploitation would involve logging in as an administrator, sending a crafted request containing malicious SQL in the log_duration field, and capturing the resulting data leak.

Generated by OpenCVE AI on April 21, 2026 at 03:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Coupon API plugin to a version newer than 6.2.12 that addresses the SQL injection flaw.
  • Restrict the number of users with Administrator privileges or remove the Administrator capability from users who do not need it for coupon management.
  • Create a fresh backup of the WordPress database before performing any updates or configuration changes.

Generated by OpenCVE AI on April 21, 2026 at 03:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-27660 The Coupon API plugin for WordPress is vulnerable to SQL Injection via the ‘log_duration’ parameter in all versions up to, and including, 6.2.9 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 Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
History

Wed, 08 Apr 2026 17:45:00 +0000

Type Values Removed Values Added
Description The Coupon API plugin for WordPress is vulnerable to SQL Injection via the ‘log_duration’ parameter in all versions up to, and including, 6.2.9 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 Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The Coupon API plugin for WordPress is vulnerable to SQL Injection via the ‘log_duration’ parameter in all versions up to, and including, 6.2.12 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 Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Title Coupon API <= 6.2.9 - Authenticated (Administrator+) SQL Injection via 'log_duration' Coupon API <= 6.2.12 - Authenticated (Administrator+) SQL Injection via 'log_duration'

Fri, 12 Sep 2025 08:15:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Thu, 11 Sep 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 11 Sep 2025 07:30:00 +0000

Type Values Removed Values Added
Description The Coupon API plugin for WordPress is vulnerable to SQL Injection via the ‘log_duration’ parameter in all versions up to, and including, 6.2.9 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 Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Title Coupon API <= 6.2.9 - Authenticated (Administrator+) SQL Injection via 'log_duration'
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 Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:53:17.778Z

Reserved: 2025-08-06T22:56:09.071Z

Link: CVE-2025-8692

cve-icon Vulnrichment

Updated: 2025-09-11T14:05:26.160Z

cve-icon NVD

Status : Deferred

Published: 2025-09-11T08:15:35.803

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-8692

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T03:15:16Z

Weaknesses