Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Lifecycle Timeline
2DescriptionCVE.org
The OptinCraft - Drag & Drop Optins & Popup Builder for WordPress plugin for WordPress is vulnerable to generic SQL Injection via the 'order_by' parameter in all versions up to, and including, 1.2.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. 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.
AnalysisAI
SQL Injection in OptinCraft (Drag & Drop Optins & Popup Builder for WordPress) versions up to and including 1.2.0 allows authenticated attackers with administrator-level access to extract sensitive data from the underlying WordPress database. The vulnerability exists in the 'order_by' parameter, which is passed without sufficient escaping or parameterized query preparation through the plugin's internal SQL compiler, enabling appending of arbitrary SQL to existing queries. No public exploit code has been identified at time of analysis, and this vulnerability is not listed in the CISA KEV catalog; however, the high confidentiality impact and network-accessible attack vector make it a meaningful data-disclosure risk in multi-administrator WordPress environments.
Technical ContextAI
The affected product is identified via CPE as cpe:2.3:a:crafium:optincraft_-_drag_&_drop_optins_&_popup_builder_for_wordpress:*:*:*:*:*:*:*:* - the OptinCraft plugin by Crafium, installed on WordPress sites. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). Source code references pinpoint three specific files: the SQL query compiler at vendor/vendor-src/wpmvc/database/src/Query/Compilers/Compiler.php line 286, the CampaignRepository at app/Repositories/CampaignRepository.php line 55, and the admin CampaignController at app/Http/Controllers/Admin/CampaignController.php line 37. The plugin uses a third-party wpmvc database abstraction layer whose Compiler class fails to sanitize the order_by value before interpolating it into SQL, bypassing WordPress's standard $wpdb->prepare() protections. This is a classic second-order-style injection through a query builder that treats ordering columns as trusted input.
RemediationAI
An upstream fix appears to have been committed to the WordPress Plugin SVN repository as referenced in changeset 3554161 (https://plugins.trac.wordpress.org/changeset?old=3554161%40optincraft&new=3554161%40optincraft); however, the exact patched release version number is not independently confirmed from available data - verify the current plugin version in the WordPress Plugin Directory and update to any release newer than 1.2.0 once available. Site administrators should check the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/f28a95b0-0f7d-43c4-acf9-13c561245f4b for patch confirmation. As a compensating control prior to patching, restrict WordPress administrator account access to the minimum necessary set of users, enforce strong credentials and MFA on all admin accounts, and consider deploying a Web Application Firewall (such as Wordfence's own firewall) with SQL injection ruleset enabled to intercept malicious order_by payloads - note that WAF rules may not catch all injection variants and should not substitute for patching. Disabling the OptinCraft plugin entirely until a confirmed patched version is available is the safest compensating control with the trade-off of losing campaign and popup functionality.
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' paramete
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-34955
GHSA-pq3p-m3ch-rgpc