MEDIUM 6.5

CVE-2026-13226: Groundhogg SQL Injection Vulnerability – Patch Guidance & Detection

The Groundhogg WordPress plugin for CRM, newsletters, and marketing automation contains a SQL injection vulnerability in its contact table AJAX handler. An authenticated user—regardless of their role—can inject malicious SQL commands through the 'after' parameter to access sensitive database information. This vulnerability exists because the parameter isn't properly escaped, the SQL query lacks preparation defenses, and the security checks that should restrict access have been disabled. While exploitation requires an existing user account, the lack of role restrictions makes this a significant risk for organizations running the plugin.

Source data · NVD / CISA · public domain

CVSS
3.1 · 6.5 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses (CWE)
CWE-89
Affected products
0 configuration(s)
Published / Modified
2026-06-26 / 2026-06-26

NVD description (verbatim)

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.

8 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-13226 is a SQL injection flaw (CWE-89) in Groundhogg versions up to 4.5.4 affecting the wp_ajax_groundhogg_get_contacts_table AJAX handler. The 'after' parameter is concatenated unsafely into an existing SQL query without proper parameterization. The handler's capability check is commented out and performs no nonce verification, allowing any authenticated user to trigger the vulnerable code path regardless of role assignment. Attackers can craft malicious SQL syntax to extract data from the WordPress database.

Business impact

A compromised user account—even one with minimal privileges—can be weaponized to exfiltrate sensitive customer data stored in the Groundhogg CRM tables, including contact information, transaction records, and communication history. Organizations using Groundhogg to manage customer relationships face confidentiality breaches that could trigger regulatory notifications (GDPR, CCPA) and reputational damage. The vulnerability does not permit data modification or system disruption, but unauthorized data access alone creates material legal and competitive risk.

Affected systems

All installations of the Groundhogg plugin for WordPress up to and including version 4.5.4 are vulnerable. Organizations must verify their current plugin version in the WordPress admin dashboard. The vulnerability can only be exploited by authenticated users with valid WordPress login credentials, so the risk is contained to environments where user registration is enabled or where internal accounts have been issued.

Exploitability

Exploitation requires valid WordPress credentials; it cannot be triggered by anonymous visitors. However, any authenticated user—including those with Subscriber or Author roles—can reach the vulnerable AJAX handler because the capability check is disabled. The attack does not require user interaction and can be executed via automated script. Overall, exploitability is moderate to high in organizations where user registration is permitted or where multiple internal accounts exist.

Remediation

Update Groundhogg to a patched version released after June 26, 2026. Consult the vendor's security advisory for the specific version number and apply the update immediately. Until patching is complete, limit WordPress user registration or restrict AJAX handler execution via firewall or plugin-level controls as interim mitigation. Review access logs for suspicious AJAX requests to wp_ajax_groundhogg_get_contacts_table.

Patch guidance

Check the official Groundhogg plugin repository or the vendor's security advisory for version 4.5.5 or later. Update via the WordPress admin dashboard (Plugins > Installed Plugins > Update) or via command line using WP-CLI. After updating, verify the capability check is re-enabled and nonce verification is present by reviewing the plugin's source code or changelog. Test the AJAX handler to confirm the fix does not break contact table display functionality.

Detection guidance

Monitor WordPress error and audit logs for AJAX POST requests to wp_ajax_groundhogg_get_contacts_table with unusual 'after' parameter values (e.g., containing SQL keywords: UNION, SELECT, WHERE, --). Use a Web Application Firewall (WAF) to detect SQL injection patterns in the request payload. Audit user login activity to identify compromised accounts being used for reconnaissance. Query the WordPress user_meta and usermeta tables for any newly created users without corresponding registrations.

Why prioritize this

Although classified as MEDIUM severity due to limited permissions required (authenticated user only), this vulnerability warrants urgent attention. SQL injection against a CRM system directly threatens customer data confidentiality. The disabled capability check means any user account—including low-privilege or compromised guest accounts—can exploit the flaw. Organizations managing sensitive customer information or operating in regulated industries should prioritize patching above lower-impact vulnerabilities.

Risk score, explained

The CVSS v3.1 score of 6.5 (MEDIUM) reflects a network-accessible vulnerability requiring authentication, with no user interaction and high confidentiality impact but no integrity or availability impact. The score does not fully capture the business risk of CRM data exfiltration; organizations should apply internal risk scoring that accounts for the sensitivity of their customer database and regulatory obligations.

Frequently asked questions

Can this vulnerability be exploited without a WordPress user account?

No. The vulnerability requires valid WordPress authentication. However, any authenticated user can exploit it, regardless of role, due to the disabled capability check. Organizations should carefully manage user registration settings and account creation policies.

Does patching require downtime?

Not necessarily. Most WordPress plugin updates can be applied with one-click updates in the admin dashboard without requiring a site restart. However, test the update in a staging environment first to ensure compatibility with other plugins and custom code.

What if we cannot patch immediately?

Implement interim controls: disable user registration if not critical to business, use a WAF rule to block requests with SQL keywords in the 'after' parameter, restrict wp-admin access via IP allowlisting, and monitor AJAX handler logs for suspicious activity.

Should we notify customers?

If any database breach is confirmed (check logs for successful exploitation), notification may be required under GDPR, CCPA, and other privacy laws. Consult legal counsel immediately. Preventive patching without evidence of compromise does not typically trigger notification obligations, but document your remediation timeline.

This analysis is based on the CVE description and CVSS scoring published as of the date stated. Vendor patch versions and specific remediation steps should be verified against the official Groundhogg security advisory before implementation. SEC.co provides this information for informational purposes only; it is not a substitute for professional security assessment or legal advice. Organizations must assess risk within their own operational context and regulatory environment. Source: NVD (public-domain), retrieved 2026-08-04. Analysis generated by SEC.co (claude-haiku-4-5).