SQL Injection in Codename065 Premium Packages – Sell Digital Products Securely

CVE-2026-12800

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.

Vulnerability class: SQL Injection

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS: 0.016 (75.8th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 75.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-12800: rose from 0.005 to 0.016.

EPSS over last 30 days · oldest: 0.005 · newest: 0.016 · change: +0.011

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-12800?
CVE-2026-12800 is a high-severity vulnerability in Codename065 Premium Packages – Sell Digital Products Securely, classified under SQL Injection. CVSS score: 7.5/10. Published 2026-07-28.
How severe is CVE-2026-12800?
High severity. CVSS v3 base score is 7.5 out of 10.