Description
The Premium Packages – Sell Digital Products Securely plugin for WordPress is vulnerable to SQL Injection via the 'code' parameter of the POST /wp-json/wpdmpp/v1/cart/coupon REST API endpoint in versions up to, and including, 6.2.0. This is due to insufficient escaping on the user-supplied parameter, which is interpolated directly into a raw SQL query string in the CouponCodes::find() method without use of $wpdb->prepare() or esc_sql(). This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Published: 2026-07-28
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Premium Packages – Sell Digital Products Securely plugin for WordPress contains a flaw allowing unauthenticated users to inject SQL through the 'code' parameter of the POST /wp-json/wpdmpp/v1/cart/coupon REST endpoint. Because this parameter is concatenated directly into a SQL statement without proper escaping, an attacker can append arbitrary SQL statements. This vulnerability can be exploited to read sensitive data from the database and potentially perform other database operations that compromise confidentiality and integrity of site data.

Affected Systems

WordPress sites using the Premium Packages plugin, any version up to and including 6.2.0. The affected component is the CouponCodes library and the MiniCartAPI REST endpoint.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, while the EPSS score of < 1% suggests a low likelihood of widespread exploitation at present. The vulnerability is not listed in the CISA KEV catalog. Because the REST endpoint is publicly accessible, any visitor to the site can exploit the flaw without authentication, making the attack vector remote and straightforward.

Generated by OpenCVE AI on August 3, 2026 at 15:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor‑supplied patch by upgrading Premium Packages to the latest version where the injection is resolved.
  • If an upgrade is not possible, modify the plugin or the site configuration to limit the cart/coupon endpoint to authenticated users only, such as by adding a capability check or disabling the REST route.
  • Continuously monitor your WordPress REST API logs for unexpected POST requests to /wp-json/wpdmpp/v1/cart/coupon and revoke or expire any credentials that may have been exposed.

Generated by OpenCVE AI on August 3, 2026 at 15:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wpdownloadmanager
Wpdownloadmanager premium Packages - Sell Digital Products Securely
Vendors & Products Wordpress
Wordpress wordpress
Wpdownloadmanager
Wpdownloadmanager premium Packages - Sell Digital Products Securely

Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 28 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description The Premium Packages – Sell Digital Products Securely plugin for WordPress is vulnerable to SQL Injection via the 'code' parameter of the POST /wp-json/wpdmpp/v1/cart/coupon REST API endpoint in versions up to, and including, 6.2.0. This is due to insufficient escaping on the user-supplied parameter, which is interpolated directly into a raw SQL query string in the CouponCodes::find() method without use of $wpdb->prepare() or esc_sql(). This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Title Premium Packages <= 6.2.0 - Unauthenticated SQL Injection
Weaknesses CWE-89
References
Metrics cvssV3_1

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


Subscriptions

Wordpress Wordpress
Wpdownloadmanager Premium Packages - Sell Digital Products Securely
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-28T13:57:37.625Z

Reserved: 2026-06-20T19:53:36.643Z

Link: CVE-2026-12800

cve-icon Vulnrichment

Updated: 2026-07-28T13:57:32.659Z

cve-icon NVD

Status : Deferred

Published: 2026-07-28T09:16:40.667

Modified: 2026-07-28T16:07:15.840

Link: CVE-2026-12800

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T15:30:03Z

Weaknesses
  • CWE-89

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