# CVE-2026-12800: Premium Packages <= 6.2.0 - Unauthenticated SQL Injection

- Severity: High 7.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.39%, higher than 73% of CVEs (2026-12-01)
- Published: 2026-07-28T08:34:36.797Z
- Modified: 2026-07-28T16:07:15.840Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- codename065 Premium Packages – Sell Digital Products Securely: up to 6.2.0

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/b288386c-709c-49a6-9b46-28bf46c3c303?source=cve>
- <https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/CouponCodes.php#L26>
- <https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/MiniCartAPI.php#L398>
- <https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/CouponCodes.php#L82>
- <https://plugins.trac.wordpress.org/changeset/3595291/wpdm-premium-packages>

## Sources

- CVE List: [CVE-2026-12800](https://www.cve.org/CVERecord?id=CVE-2026-12800), CVE Terms of Use, modified 2026-07-28
- NVD: [CVE-2026-12800](https://nvd.nist.gov/vuln/detail/CVE-2026-12800), Public domain, modified 2026-07-28

---

Page: https://cve.day/CVE-2026-12800 · Whole record: https://cve.day/CVE-2026-12800.json · Rebuilt by cve.day 2026-11-25T22:59:30.313Z
