Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Network-reachable via API; PR:L reflects required authenticated vendor-level role; C:H for full DB read; I:N and A:N as no write or availability impact applies.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
Lifecycle Timeline
2DescriptionCVE.org
The Groundhogg - CRM, Newsletters, and Marketing Automation plugin for WordPress is vulnerable to generic SQL Injection via the 'tag_query' parameter in all versions up to, and including, 4.5.14 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 vendor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Exploitation requires the attacker to trigger the vulnerable Legacy_Contact_Query code path by submitting an unknown filter type (e.g. filters[0][0][type]=force_fallback), which causes a FilterException that dispatches execution away from the modern query handler.
AnalysisAI
SQL injection in the Groundhogg WordPress CRM plugin (versions through 4.5.14) permits authenticated attackers holding vendor-level or higher access to append arbitrary SQL to database queries via the insufficiently escaped 'tag_query' parameter, resulting in full read-access to the WordPress database. The exploitation path is non-trivial: the attacker must deliberately force execution into the deprecated Legacy_Contact_Query handler by submitting an unknown filter type that triggers a FilterException, bypassing the modern query handler's protections. No public exploit has been identified at time of analysis, and the vendor has issued a code fix (SVN changeset 3643654), though the exact patched release version is not independently confirmed in available data.
Technical ContextAI
The affected product is the Groundhogg - CRM, Newsletters, and Marketing Automation plugin for WordPress by trainingbusinesspros (CPE: cpe:2.3:a:trainingbusinesspros:groundhogg_-_crm,_newsletters,_and_marketing_automation). The root cause is CWE-89 (Improper Neutralization of Special Elements in SQL Commands): user-controlled input from the 'tag_query' parameter reaches SQL query construction in legacy-contact-query.php (line 548) and tag-query.php (lines 393, 415) without adequate parameterization or escaping. The plugin's v4 contacts API (contacts-api.php, line 230) dispatches filter processing through contact-query.php; when a modern handler raises a FilterException due to an unrecognized filter type, execution falls back to the Legacy_Contact_Query class, which lacks the prepared-statement protections of the modern handler. This architectural split between a hardened modern path and an unpatched legacy fallback is the structural enabler of the vulnerability.
RemediationAI
Apply the fix introduced in WordPress plugin SVN changeset 3643654 (https://plugins.trac.wordpress.org/changeset?reponame=&old=3643654%40groundhogg&new=3643654%40groundhogg) by updating the Groundhogg plugin to the latest available version through the WordPress plugin repository; the exact post-4.5.14 release version number is not independently confirmed in the available advisory data, so verify the installed version exceeds 4.5.14 after updating. As an interim compensating control, restrict vendor-level role assignments to only fully trusted personnel and audit existing vendor accounts for unauthorized additions - reducing the eligible attacker pool is the highest-impact workaround since the vulnerability is gated behind that role. A WAF rule blocking requests to the contacts API endpoint that include filter parameters with unrecognized type values (e.g., 'force_fallback') or that include SQL metacharacters in the tag_query field can further reduce exposure, though this may incidentally block legitimate API clients using custom filter types. The read-only nature of the impact (I:N, A:N) means there is no risk of data destruction or denial of service while patching is in progress.
More in Wordpress Plugin
View allThe 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
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
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 Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-58855
GHSA-4mgr-f3j8-4rg7