Skip to main content

OptinCraft CVE-2026-8978

| EUVDEUVD-2026-34955 MEDIUM
SQL Injection (CWE-89)
2026-06-06 Wordfence GHSA-pq3p-m3ch-rgpc
4.9
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
4.9 MEDIUM
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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Analysis Generated
Jun 06, 2026 - 03:52 vuln.today
CVE Published
Jun 06, 2026 - 02:28 nvd
MEDIUM 4.9

DescriptionCVE.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.

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-3495 CRITICAL POC
9.8 May 22

The Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' paramete

Share

CVE-2026-8978 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy