CVE-2025-8692

Coupon API <= 6.2.12 - Authenticated (Administrator+) SQL Injection via 'log_duration'

Published Sep 11, 2025 CVSS 3.1 · 4.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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
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'
Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
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 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'}

Weaknesses
  • CWE-89

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:53 PM
Reserved
Aug 6, 2025, 10:56 PM
Status
Deferred
Published
Sep 11, 2025, 8:15 AM
Modified
Jun 17, 2026, 10:07 AM