CVE-2026-12800

Premium Packages <= 6.2.0 - Unauthenticated SQL Injection

Published Jul 28, 2026 CVSS 3.1 · 7.5 High EPSS 1.6% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 October 23, 2026 at 19:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

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

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

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

Weaknesses
  • CWE-89

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jul 28, 2026, 1:57 PM
Reserved
Jun 20, 2026, 7:53 PM
Status
Deferred
Published
Jul 28, 2026, 9:16 AM
Modified
Jul 28, 2026, 4:07 PM