CVE-2026-12800
Received Received - Intake

SQL Injection in Premium Packages – Sell Digital Products Securely WordPress Plugin

Vulnerability report for CVE-2026-12800, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-28

Last updated on: 2026-07-28

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-28
Last Modified
2026-07-28
Generated
2026-07-28
AI Q&A
2026-07-28
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
wpdmpp premium_packages to 6.2.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an SQL Injection flaw in the Premium Packages – Sell Digital Products Securely WordPress plugin. It allows unauthenticated attackers to inject malicious SQL queries via the 'code' parameter in a REST API endpoint. The issue occurs because user input is directly inserted into a raw SQL query without proper escaping or preparation, enabling database access.

Detection Guidance

To detect this vulnerability, check if the Premium Packages – Sell Digital Products Securely plugin version 6.2.0 or lower is installed. Inspect network traffic for POST requests to /wp-json/wpdmpp/v1/cart/coupon with a 'code' parameter. Look for unusual SQL query patterns in logs or database activity.

Impact Analysis

An attacker could exploit this to extract sensitive data from the WordPress database, such as user credentials, personal information, or payment details. Since no authentication is required, any website using the vulnerable plugin version is at risk of data breaches or unauthorized access.

Compliance Impact

This vulnerability could lead to non-compliance with GDPR or HIPAA by exposing protected health or personal data. GDPR requires protecting personal data, while HIPAA mandates safeguarding health information. A breach via SQL Injection may result in legal penalties, fines, or reputational damage.

Mitigation Strategies

Immediately update the Premium Packages plugin to the latest version. If an update is unavailable, disable the plugin temporarily. Review database access logs for suspicious queries. Consider implementing a web application firewall to block malicious requests targeting the vulnerable endpoint.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-12800. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart