What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
Premium Packages contains a SQL injection vulnerability in versions up to 6.2.0. An attacker can craft malicious input to read sensitive data from the site's database without authentication. The vulnerability requires only network access and no user interaction. Site administrators should update to a version newer than 6.2.0 immediately.
What an attacker can do
03Attacker Capabilities
Read sensitive data from the site's database, including customer information and payment records.
Potential impact on your site
04Site Impact
Customer data, payment information, and other database records can be exposed to unauthorized access.
Conditions required to exploit
05Prerequisites
Network access only; no authentication or user interaction required.
Key dates
06Disclosure timeline
July 28, 2026
CVE published