{"id":"CVE-2026-12800","published":"2026-07-28T08:34:36Z","modified":"2026-07-28T13:57:37Z","title":"Premium Packages <= 6.2.0 - Unauthenticated SQL Injection","vendor":"codename065","product":"Premium Packages – Sell Digital Products Securely","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01588,"percentile":0.76226,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/b288386c-709c-49a6-9b46-28bf46c3c303?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/CouponCodes.php#L26","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/MiniCartAPI.php#L398","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/CouponCodes.php#L82","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3595291/wpdm-premium-packages","tags":[]}],"priority":{"score":25.5,"factors":[{"name":"EPSS percentile","points":15.25},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"nuclei":[{"id":"CVE-2026-12800","name":"Premium Packages – Sell Digital Products Securely - SQL Injection","severity":"high","path":"http/cves/2026/CVE-2026-12800.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-12800.yaml"}],"provenance":"source"},"vendorSlug":"codename065","affectedVersions":[{"vendor":"codename065","product":"Premium Packages – Sell Digital Products Securely","versions":["<= 6.2.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-28T13:57:27.011084Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-49723","exploited":false,"provenance":"source"}}