Mail Mint <= 1.31.0 - Authenticated (Custom+) SQL Injection via 'status' Parameter
cve-program · CVE-2026-19800
PublishedThe Mail Mint – Email Marketing, Newsletter, Email Automation & WooCommerce Emails plugin for WordPress is vulnerable to SQL Injection via the 'status' parameter in all versions up to, and including, 1.31.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. The $wpdb->prepare() call does not protect against this injection because the attacker-controlled $contact_filter_query fragment is concatenated into the SQL format string before prepare() executes — prepare() only processes %s/%d placeholders and cannot sanitize content already embedded in the format string. REST API JSON bodies are parsed from php://input and bypass WordPress's wp_magic_quotes(), meaning double-quote characters in status array values reach the SQL sink unescaped. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The required 'mint_read_contacts' capability is a plugin-specific capability not assigned to any default WordPress role; it must be explicitly granted by an administrator, making this effectively an Administrator+ vulnerability.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-19800 · CVE overview and exploitation status
cve-program · CVE-2026-19800
- https://www.wordfence.com/threat-intel/vulnerabilities/id/af18f38a-f3cb-46ae-9409-80e35c34df83?source=cve
- https://plugins.trac.wordpress.org/browser/mail-mint/tags/1.24.2/app/Database/models/ContactModel.php#L693
- https://plugins.trac.wordpress.org/browser/mail-mint/tags/1.30.1/app/Database/models/ContactModel.php#L693
- https://plugins.trac.wordpress.org/browser/mail-mint/tags/1.30.1/app/API/Controllers/Admin/ContactController.php#L775
- https://plugins.trac.wordpress.org/browser/mail-mint/tags/1.30.1/app/API/Routes/Admin/ContactRoute.php#L415
- https://plugins.trac.wordpress.org/browser/mail-mint/tags/1.24.2/app/API/Controllers/Admin/ContactController.php#L775
- https://plugins.trac.wordpress.org/browser/mail-mint/tags/1.24.2/app/API/Routes/Admin/ContactRoute.php#L415
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3675453%40mail-mint&new=3675453%40mail-mint
Related changes
Linked by CVE identifierNo related changes are available here.