Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/incl
- https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/incl
- https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/incl
- https://plugins.trac.wordpress.org/changeset/3595291/wpdm-premium-packages
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b288386c-709c-49a6-9b4
FAQ
What is CVE-2026-12800?
CVE-2026-12800 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 versi...
How severe is CVE-2026-12800?
CVE-2026-12800 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-12800?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.