Quick answers
- Is CVE-2026-12800 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-12800 being exploited in the wild.
- How severe is CVE-2026-12800?
- High severity, with a CVSS score of 7.5, published 28 July 2026.
- Which products and versions are affected?
- Codename065 Premium Packages – Sell Digital Products Securely up to, and including, 6.2.0.
- Is there a fix for CVE-2026-12800?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-12800 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-12800?
- Check whether you run Codename065 Premium Packages – Sell Digital Products Securely at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A SQL injection vulnerability exists in the CouponCodes::find() method of the Premium Packages plugin due to insufficient escaping of the 'code' parameter. The user-supplied input is interpolated directly into a raw SQL query string without using $wpdb->prepare() or esc_sql(). This flaw is accessible via the POST /wp-json/wpdmpp/v1/cart/coupon REST API endpoint. An unauthenticated remote attacker can exploit this to append arbitrary SQL queries and extract sensitive data from the WordPress database. The issue is addressed in versions following 6.2.0.
Affected products
- codename065 Premium Packages – Sell Digital Products Securely up to, and including, 6.2.0
Timeline
- 2026-07-28: advisory: NVD publication date
- 2026-07-28: disclosed: Wordfence advisory published
References
- https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/CouponCodes.php
- https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/CouponCodes.php
- https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/MiniCartAPI.php
- https://plugins.trac.wordpress.org/changeset/3595291/wpdm-premium-packages
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b288386c-709c-49a6-9b46-28bf46c3c303?source=cve