{"id":"CVE-2026-12800","aliases":["CVE-2026-12800"],"related":[],"kind":"vulnerability","state":"published","title":"Premium Packages <= 6.2.0 - Unauthenticated SQL Injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-07-28T08:34:36.797Z","modified":"2026-07-28T16:07:15.840Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"6.2.0","status":"affected"}],"vendor":"codename065","product":"Premium Packages – Sell Digital Products Securely","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/b288386c-709c-49a6-9b46-28bf46c3c303?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/CouponCodes.php#L26","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/MiniCartAPI.php#L398","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wpdm-premium-packages/tags/6.2.0/includes/libs/CouponCodes.php#L82","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3595291/wpdm-premium-packages","tags":[],"sources":["cvelist","nvd"]}],"credits":["Talal Nasraddeen"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-28T13:57:27.011Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-12800","url":"https://www.cve.org/CVERecord?id=CVE-2026-12800","licence":"CVE Terms of Use","modified":"2026-07-28T13:57:37.625Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-12800","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12800","licence":"Public domain","modified":"2026-07-28T16:07:15.840Z"}],"updatedAt":"2026-11-25T22:59:30.313Z","epss":{"score":0.01392,"percentile":0.73145,"date":"2026-12-01T12:00:22.000Z"}}