CVE-2026-12800 Premium Packages <= 6.2.0 - Unauthenticated SQL Injection
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- WordPress
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| codename065 Premium Packages – Sell Digital Products Securely | <= 6.2.0 | after 6.2.0 | Fixed |
| wordpress wpdm-premium-packages(WordPress) | < 7.0.0 | 7.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| codename065 Premium Packages – Sell Digital Products Securely | <= 6.2.0 | No fix listed |
| wordpress wpdm-premium-packages(WordPress) | < 7.0.0 | 7.0.0 |