CVE-2026-13333: Groundhogg SQL Injection Vulnerability – CRM Data at Risk
A SQL injection vulnerability exists in the Groundhogg WordPress plugin (versions up to 4.5.5) that allows attackers with Sales Representative access or higher to extract sensitive data from the website's database. The vulnerability stems from improper handling of query parameters combined with a bypass mechanism—attackers can submit malformed filter requests that trigger an exception, causing the system to fall back to legacy code that doesn't properly sanitize user input. While authentication is required, the low privilege threshold and straightforward exploitation method make this a meaningful risk for organizations using this 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-27 / 2026-06-29
NVD description (verbatim)
The Groundhogg — CRM, Newsletters, and Marketing Automation plugin for WordPress is vulnerable to generic SQL Injection via 'query[select]' Parameter in all versions up to, and including, 4.5.5 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 Representative-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 sanitized Contact_Query code path can be bypassed by supplying an invalid filter type (e.g., query[filters][0][0][type]=invalid_filter_nonexistent), causing a FilterException to be caught and execution to fall through to the unsanitized Legacy_Contact_Query path.
6 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-13333 is a SQL injection vulnerability (CWE-89) in Groundhogg through version 4.5.5. The 'query[select]' parameter and associated filter handling fail to properly escape user-supplied input before incorporating it into SQL queries. The plugin implements a sanitized Contact_Query path, but this can be circumvented by supplying an invalid filter type (e.g., query[filters][0][0][type]=invalid_filter_nonexistent). When an invalid filter triggers a FilterException, execution falls through to a Legacy_Contact_Query code path that lacks adequate SQL preparation. An authenticated attacker with Sales Representative privileges or above can craft malicious queries to append arbitrary SQL, leading to unauthorized data disclosure from the database.
Business impact
Organizations relying on Groundhogg for customer relationship management face unauthorized access to sensitive contact and business data. Sales teams, which typically have Sales Representative access, could inadvertently enable attackers to extract customer records, email addresses, interaction histories, and potentially linked financial or personal information. This exposes the organization to compliance violations (GDPR, CCPA, etc.), reputational damage, and potential customer notification obligations. The vulnerability is particularly concerning for businesses that store customer or prospect data in Groundhogg and need to demonstrate data protection controls to regulators or customers.
Affected systems
WordPress installations running the Groundhogg — CRM, Newsletters, and Marketing Automation plugin in version 4.5.5 or earlier are affected. The vulnerability requires an authenticated user account with Sales Representative-level access or higher. Organizations should inventory all WordPress sites using Groundhogg and verify which versions are deployed.
Exploitability
This vulnerability requires authentication and a minimum privilege level (Sales Representative or above), which limits the attack surface compared to unauthenticated exploits. However, in many organizations, Sales Representatives have broad access to CRM systems, and the exploitation method is straightforward once an attacker has valid credentials—no complex setup, chaining, or user interaction is needed. The bypass mechanism (invalid filter triggering an exception) is simple to discover through fuzzing or code review. The CVSS score of 6.5 (Medium) reflects the confidentiality impact offset by authentication and privilege requirements.
Remediation
Update the Groundhogg plugin to a patched version released after 4.5.5 that properly escapes the 'query[select]' parameter and sanitizes all filter-based query construction, regardless of filter validity. Verify that the patch removes the fallthrough to unsanitized legacy code paths. Additionally, review and tighten access controls for Sales Representative accounts—ensure only users who genuinely require CRM access retain these privileges, reducing the population of potential attackers.
Patch guidance
Check the Groundhogg plugin repository and vendor advisory for the patched version address released in response to CVE-2026-13333. Update the plugin through the WordPress admin interface once a patch is available. Before updating in production, test on a staging environment to ensure compatibility with your WordPress version, PHP version, and any custom integrations. After patching, verify that the plugin's database connection queries properly use prepared statements and escape user input throughout the contact query and filter handling logic.
Detection guidance
Monitor WordPress access logs and database query logs for unusual SQL patterns originating from authenticated users with Sales Representative privileges. Look for SQL keywords (UNION, SELECT, OR, AND, etc.) appearing in request parameters, particularly in 'query[select]' and 'query[filters]' fields. Database query logs should be reviewed for unexpected queries appended to contact or CRM queries, especially those accessing sensitive tables outside the normal scope. Plugin audit logs (if available) should be checked for filter validation exceptions (FilterException) combined with database queries. Consider using a Web Application Firewall (WAF) to detect and block suspicious SQL patterns before they reach WordPress.
Why prioritize this
Although the CVSS score is Medium, prioritize this vulnerability for organizations where Groundhogg is actively used for sensitive customer data. The authentication requirement and privilege threshold lower the risk compared to unauthenticated exploits, but the ease of exploitation and high confidentiality impact (C:H) warrant prompt patching. Organizations with strict data protection obligations, large customer databases, or Sales teams with frequent external collaboration should treat this as higher priority. If Groundhogg is used only for low-sensitivity internal operations, it may be queued behind critical unpatched vulnerabilities, but should still be addressed within a standard patch cycle.
Risk score, explained
The CVSS 3.1 score of 6.5 reflects a Medium severity rating: Network-accessible, low attack complexity, but requiring authentication and Sales Representative privileges. The vulnerability has high confidentiality impact (C:H) due to unrestricted data extraction, but no impact on integrity or availability (I:N, A:N). The privilege requirement (PR:L) and authentication boundary prevent widespread exploitation. Organizations' actual risk depends on how widely Sales Representative access is granted and how sensitive the data stored in Groundhogg is; security context matters more than the base score alone.
Frequently asked questions
Do we need to patch immediately, or can this wait?
If your organization uses Groundhogg to store customer or prospect data and Sales Representatives have widespread access, patching should be prioritized within 2–4 weeks. If Groundhogg is used only for internal, non-sensitive operations, or if Sales Representative access is tightly controlled and audited, patching can be scheduled in the next standard maintenance window. However, do not delay beyond 30 days without documented justification, as credential compromise among Sales staff is not uncommon.
What if we can't update Groundhogg immediately?
Implement compensating controls: restrict Sales Representative access to only users who absolutely require it, enable detailed database query logging to detect exploitation attempts, use a Web Application Firewall to block SQL injection patterns in requests, and monitor database access for unusual queries. These measures reduce risk but do not eliminate it—they are temporary until patching is completed.
Could an attacker use a generic password or default account to exploit this?
No, the vulnerability requires a legitimate authenticated account with Sales Representative privileges or higher. An attacker would need to compromise such a credential or exploit a separate vulnerability to gain initial access. This means the vulnerability is primarily a risk if your organization has security issues around password management, account provisioning, or multi-factor authentication for CRM users.
Does this vulnerability affect our WordPress site if we're not using Groundhogg?
No, this vulnerability is specific to the Groundhogg plugin. If you do not have this plugin installed and active, you are not affected. You can verify by checking your WordPress Plugins list in the admin interface.
This analysis is provided for informational purposes to help security teams understand and mitigate CVE-2026-13333. The vulnerability details, affected versions, and patch information are based on official vendor advisories and CVE records current as of the publication date. Security organizations should verify patch availability and compatibility in their specific environments before deployment. This explainer does not constitute legal, compliance, or professional security advice; consult with your security team and legal counsel regarding data protection obligations and incident response procedures. No exploit code, proof-of-concept, or weaponized tools are provided or endorsed herein. Source: NVD (public-domain), retrieved 2026-08-05. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2025-53648MEDIUMSQL Misconfiguration in Apache Gravitino UI – MEDIUM Severity
- CVE-2025-71332MEDIUMSQL Injection in Flowise importChatflows API – MEDIUM Severity Credential Extraction
- CVE-2026-0075MEDIUMAndroid SQL Injection in Contacts Database – Privilege Escalation Risk
- CVE-2026-10039MEDIUMFrontend Admin WordPress Plugin SQL Injection Vulnerability
- CVE-2026-10155MEDIUMSQL Injection in Bdtask Multi-Store Inventory Management System 1.0
- CVE-2026-10170MEDIUMSQL Injection in code-projects Visitor Management System 1.0
- CVE-2026-10171MEDIUMSQL Injection in code-projects Online Music Site 1.0 AdminUpdateAlbum.php
- CVE-2026-10176MEDIUMSQL Injection in Aider-AI Aider 0.86.3 Code Generation