CVE-2026-13331: Groundhogg WordPress Plugin SQL Injection Vulnerability
The Groundhogg CRM and marketing automation plugin for WordPress contains a SQL injection vulnerability in its search functionality. An authenticated user with marketer-level permissions or higher can craft malicious search queries to extract sensitive data from the WordPress database. The vulnerability exists because the search parameter is not properly escaped before being used in SQL queries. While an attacker needs valid WordPress credentials, the risk is significant because marketers and similar roles often have access to customer data, making unauthorized database extraction a realistic threat.
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 the 'search' 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 marketer-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
7 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-13331 is a SQL injection flaw (CWE-89) in the Groundhogg plugin affecting versions up to and including 4.5.5. The 'search' parameter is insufficiently escaped and lacks prepared statement protections, allowing authenticated attackers to inject arbitrary SQL commands. The vulnerability requires marketer-level or administrative WordPress privileges to exploit. An attacker can append malicious SQL to legitimate queries, enabling unauthorized data exfiltration from the WordPress database without modifying or deleting records. The CVSS 3.1 score of 6.5 (Medium) reflects the requirement for authentication, though the confidentiality impact is rated as high.
Business impact
This vulnerability poses a direct threat to customer and business data confidentiality. Organizations using Groundhogg to manage customer relationships, email lists, and marketing campaigns face potential exposure of contact information, customer behavioral data, transaction records, or any other sensitive information stored in the WordPress database. The threat is heightened because the attacker needs only marketer-level access—a role commonly delegated across multiple team members. A compromised or malicious employee with such access could systematically extract data without triggering obvious audit trails. Depending on the jurisdiction and data types involved, unauthorized database access may trigger breach notification requirements and regulatory penalties.
Affected systems
The Groundhogg plugin for WordPress is affected in all versions up to and including 4.5.5. Any WordPress installation running this plugin with an active marketer-level user account or above is at risk. Organizations should audit which WordPress users hold marketer or higher privileges and verify whether those accounts are managed securely. The vulnerability does not affect WordPress core or other plugins directly, but organizations using Groundhogg in combination with other sensitive WordPress installations should treat this as a priority remediation target.
Exploitability
Exploitation requires valid WordPress authentication credentials with marketer-level permissions or above, making this an insider or compromised-account attack vector rather than a completely unauthenticated threat. However, the barrier to exploitation is relatively low once an attacker has obtained such credentials. No user interaction is required; an attacker can craft and submit malicious search queries programmatically. The vulnerability is not listed on the KEV (Known Exploited Vulnerabilities) catalog as of the last update, suggesting active exploitation in the wild has not yet been confirmed at scale, though SQL injection weaknesses are generally well-understood attack patterns.
Remediation
Users of Groundhogg should upgrade to a patched version released after June 27, 2026. Organizations should verify the latest available version directly from the plugin's official repository or vendor advisory. In the interim, organizations can implement database-level access controls, restrict marketer-level WordPress accounts to only trusted personnel, and monitor database query logs for suspicious SQL patterns. Consider implementing Web Application Firewall (WAF) rules to detect and block SQL injection attempts targeting the search parameter, though this is not a substitute for patching.
Patch guidance
Verify the latest patched version of Groundhogg against the official WordPress plugin repository or the vendor's security advisory published June 27–29, 2026. Once a patch is confirmed available, test it in a staging environment to ensure compatibility with your WordPress configuration, themes, and other plugins. Prioritize patching within 2–4 weeks given the authenticated-access requirement and current lack of widespread active exploitation. Review and update any custom plugins or code that may depend on Groundhogg's search functionality. After patching, verify via automated scanning that the vulnerability is no longer present in your environment.
Detection guidance
Monitor WordPress database query logs for unusual SELECT, UNION, or subquery patterns originating from authenticated sessions with marketer-level access. Look for search parameter inputs containing SQL keywords such as UNION, SELECT, OR 1=1, or CHAR/ASCII encoding sequences. Implement integrity monitoring on the WordPress database to alert on unexpected data access patterns. Review WordPress user audit logs to identify authentication events for marketer accounts outside normal business hours or from unexpected IP addresses. Consider deploying a database activity monitor (DAM) or query auditing solution to capture and analyze all SQL executed against the WordPress database.
Why prioritize this
Although the CVSS score is Medium (6.5), this vulnerability should be prioritized for patching because it directly threatens data confidentiality, requires minimal attacker effort once credentials are obtained, and targets a role (marketer) commonly delegated across organizations. The lack of KEV listing suggests the patch may still be new; early patching reduces the window in which sophisticated attackers can develop and weaponize exploitation. Organizations managing sensitive customer data should treat this as a high operational priority despite the moderate CVSS rating.
Risk score, explained
The CVSS 3.1 score of 6.5 reflects: (1) Network-accessible attack vector (AV:N), (2) Low attack complexity requiring no special conditions (AC:L), (3) Requirement for valid authentication (PR:L), (4) No need for user interaction (UI:N), (5) Single security boundary affected (S:U), and (6) High confidentiality impact (C:H) with no integrity or availability impact (I:N/A:N). The Medium severity appropriately captures the balance between the serious data exposure risk and the prerequisite of authenticated access. However, contextualized risk may be higher if your organization has poor credential hygiene or widely distributed marketer accounts.
Frequently asked questions
Do we need to be using the search feature for this vulnerability to be exploitable?
No. An attacker with marketer-level access can invoke the vulnerable search parameter directly via WordPress admin interfaces, REST API calls, or other plugin functionality that uses Groundhogg's search backend. Simply having the plugin installed and the attacker holding the right credentials is sufficient; they do not need to wait for a normal user to use search.
Can this vulnerability be exploited to modify or delete data?
No. The vulnerability is limited to SQL injection that extracts (reads) data from the database. The CVSS impact ratings show confidentiality as high but integrity and availability as none, meaning an attacker cannot use this to alter or destroy records. However, the data extraction risk alone is severe for customer-focused organizations.
Does the WordPress admin or site owner need to be compromised for this to work?
No. A marketer-level account is sufficient. Marketer accounts are typically created for team members managing campaigns, contacts, and communications. A compromised marketer account, a disgruntled employee, or a contractor with marketer access could exploit this without involving the site administrator.
If we haven't updated yet, what's the fastest way to reduce risk?
Immediately audit and restrict which WordPress users hold marketer-level or higher permissions in Groundhogg, removing anyone who does not strictly need it. Enable two-factor authentication on remaining marketer accounts. Implement database query logging and monitoring for suspicious SQL patterns. These controls mitigate—but do not eliminate—the risk while you plan and test patching.
This analysis is provided for informational purposes and based on the CVE, CWE, and vendor information available as of the publication date. Security assessments and patch availability may evolve. Organizations should verify patch status directly with the Groundhogg vendor and test in staging environments before production deployment. This document does not constitute legal advice, and organizations must comply with their own information security policies and applicable regulations regarding vulnerability management and data protection. Exploitation requires valid WordPress credentials; organizations should implement credential management and access control best practices independent of patch status. 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