Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Network-accessible REST API attack requiring low-privilege Groundhogg role; no scope change; high confidentiality impact from full DB read; no integrity or availability impact.
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 'select' parameter in all versions up to, and including, 4.5.8 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 custom-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 hold a Groundhogg custom role with the view_contacts capability, which is granted by default to several built-in Groundhogg roles above the base subscriber level.
AnalysisAI
SQL Injection in the Groundhogg CRM, Newsletters, and Marketing Automation WordPress plugin (all versions through 4.5.8) enables authenticated attackers with the view_contacts capability to append arbitrary SQL to existing database queries via the unsanitized 'select' parameter, resulting in full database read access. The flaw spans multiple code paths - db/query/query.php (lines 228 and 427), db/db.php (line 1366), and api/v4/base-object-api.php (line 505) - confirmed in both the 4.5.7 and 4.5.8 tagged releases by Wordfence. No public exploit code or CISA KEV listing has been identified at time of analysis, though the vulnerable code is publicly browsable in the WordPress plugin repository, materially lowering the barrier for exploit development.
Technical ContextAI
The vulnerability is classified as CWE-89 (Improper Neutralization of Special Elements Used in an SQL Command), a generic append-style SQL injection where attacker-controlled input is concatenated directly into partially-constructed SQL query strings without adequate escaping or prepared-statement parameterization. The affected component is the Groundhogg plugin's custom database abstraction layer, specifically its query builder class. The CPE string cpe:2.3:a:trainingbusinesspros:groundhogg_-_crm,_newsletters,_and_marketing_automation:*:*:*:*:*:*:*:* covers all releases through 4.5.8. The 'select' parameter - used to specify columns or fields in API calls - is passed through db/query/query.php and surfaced via the REST API handler at api/v4/base-object-api.php, meaning the attack surface includes the WordPress REST API endpoint exposed to authenticated Groundhogg role holders.
RemediationAI
An upstream fix has been committed to the WordPress plugin repository as changeset 3591885 (https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3591885%40groundhogg&new=3591885%40groundhogg&sfp_email=&sfph_mail=); however, a specific patched release version number has not been confirmed from the available data - administrators should update to the latest available Groundhogg version in the WordPress plugin directory once a release beyond 4.5.8 is published and verify the changeset is included. As an immediate compensating control, restrict assignment of Groundhogg roles that carry the view_contacts capability to only strictly necessary, trusted accounts - this directly removes the prerequisite for exploitation with no application-layer side effects. A secondary compensating control is deploying a WAF rule to block or flag SQL metacharacters (e.g., UNION, SELECT, '--') in the 'select' parameter of Groundhogg API requests; note that WAF rules can be bypassed via encoding or obfuscation and should not be treated as a permanent fix. Disabling the Groundhogg REST API entirely is a high-impact workaround that prevents exploitation but will break plugin functionality for all users.
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-41270
GHSA-xmq3-8wcj-rm6p