CVE Explorer
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 app
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"Premium Packages – Sell Digital Products Securely","vendor":"codename065","versions":[{"lessThanOrEqual":"6.2.0","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:b48da37f44c3b83a50a1027add0778cdee28c1bb5365c276b92d22d8a7930696 · sha256:9a0b2494a46dd067… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:b48da37f44c3b83a50a1027add0778cdee28c1bb5365c276b92d22d8a7930696 · sha256:9a0b2494a46dd067… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-89","description":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b48da37f44c3b83a50a1027add0778cdee28c1bb5365c276b92d22d8a7930696 · sha256:9a0b2494a46dd067… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"url":"https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/CouponCodes.php#L26"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b48da37f44c3b83a50a1027add0778cdee28c1bb5365c276b92d22d8a7930696 · sha256:9a0b2494a46dd067… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/CouponCodes.php#L82"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b48da37f44c3b83a50a1027add0778cdee28c1bb5365c276b92d22d8a7930696 · sha256:9a0b2494a46dd067… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/MiniCartAPI.php#L398"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b48da37f44c3b83a50a1027add0778cdee28c1bb5365c276b92d22d8a7930696 · sha256:9a0b2494a46dd067… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/changeset/3595291/wpdm-premium-packages"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b48da37f44c3b83a50a1027add0778cdee28c1bb5365c276b92d22d8a7930696 · sha256:9a0b2494a46dd067… · /containers/cna/references/4
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/b288386c-709c-49a6-9b46-28bf46c3c303?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b48da37f44c3b83a50a1027add0778cdee28c1bb5365c276b92d22d8a7930696 · sha256:9a0b2494a46dd067… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.