Description
The Groundhogg — CRM, Newsletters, and Marketing Automation plugin for WordPress is vulnerable to generic SQL Injection via the 'after' parameter in all versions up to, and including, 4.5.4 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 Sales Manager-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 AJAX handler wp_ajax_groundhogg_get_contacts_table has its capability check commented out and performs no nonce verification, meaning any authenticated user regardless of role can reach the vulnerable code path.
Problem types
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Product status
Any version
Timeline
| 2026-06-24: | Vendor Notified |
| 2026-06-25: | Disclosed |
Credits
PRISM
References
www.wordfence.com/...-2d37-453a-a731-078f1de1fc69?source=cve
plugins.trac.wordpress.org/...ludes/legacy-contact-query.php
plugins.trac.wordpress.org/...ludes/legacy-contact-query.php
plugins.trac.wordpress.org/...min/contacts/contacts-page.php
plugins.trac.wordpress.org/...acts/tables/contacts-table.php
plugins.trac.wordpress.org/...5.4/includes/contact-query.php
plugins.trac.wordpress.org/...s/4.5.4/includes/functions.php
plugins.trac.wordpress.org/...oundhogg&sfp_email=&sfph_mail=