CVE-2026-18387
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-18387 is a SQL Injection vulnerability in the Groundhogg — CRM, Newsletters, and Marketing Automation plugin for WordPress, affecting all versions up to and including 4.5.14. The flaw allows authenticated attackers with vendor-level access or above to append malicious SQL queries via the tag_query parameter, enabling extraction of sensitive data from the database. It was published on August 15, 2026, and carries a CVSS v3.1 base score of 6.5 (High) (Feedly, VulDB).

Technical details

The root cause is classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), stemming from insufficient escaping of the user-supplied tag_query parameter and inadequate preparation of the underlying SQL query. Exploitation requires the attacker to trigger the vulnerable Legacy_Contact_Query code path by submitting an unknown filter type (e.g., filters[0][0][type]=force_fallback), which causes a FilterException that redirects execution away from the modern query handler to the legacy, unprotected path. Once on this code path, the attacker can append arbitrary SQL to the existing query over the network without user interaction, requiring only low-privilege (vendor-level) authentication (Feedly).

Impact

Successful exploitation allows an authenticated attacker to read sensitive information from the WordPress database, including contact records, CRM data, newsletter subscriber details, and potentially WordPress user credentials or configuration data. The impact is limited to confidentiality (no integrity or availability impact is reported), but exposure of CRM and marketing data could have significant privacy and compliance consequences. Lateral movement within the application or to other systems may be possible if database credentials or other secrets are extracted (Feedly).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the publication date. The vulnerability requires authenticated access at vendor level or above, which limits the attacker pool but does not eliminate risk in multi-tenant or compromised environments. The CVE status is listed as "Received" and no EPSS score or CISA KEV catalog entry has been identified at this time (Feedly, VulDB).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Groundhogg plugin at version 4.5.14 or earlier using tools like WPScan or by inspecting plugin metadata in publicly accessible readme files.
  2. Obtain vendor-level credentials: Acquire an account with vendor-level access or above on the target WordPress instance (e.g., through phishing, credential stuffing, or insider access).
  3. Trigger the legacy code path: Submit a crafted request to the Groundhogg contact query endpoint with an unknown filter type, such as filters[0][0][type]=force_fallback, to cause a FilterException and redirect execution to the vulnerable Legacy_Contact_Query handler.
  4. Inject malicious SQL via tag_query: Append a SQL injection payload to the tag_query parameter (e.g., tag_query=1 UNION SELECT user_login,user_pass,3 FROM wp_users--) to extract data from the database.
  5. Exfiltrate data: Collect the query results returned in the application response, which may include contact records, user credentials, or other sensitive database contents (Feedly).

Indicators of compromise

  • Network: Unusual HTTP requests to Groundhogg contact query endpoints containing filters[0][0][type]=force_fallback or other unknown filter type values in POST/GET parameters.
  • Logs: WordPress or web server access logs showing repeated requests to Groundhogg API endpoints with tag_query parameters containing SQL keywords (e.g., UNION, SELECT, --, OR 1=1).
  • Application: Unexpected or large volumes of contact/CRM data returned in API responses; error logs referencing FilterException or Legacy_Contact_Query class invocations.
  • Database: Unusual or high-frequency SELECT queries against WordPress tables (e.g., wp_users, wp_gh_contacts) originating from the web application process (Feedly).

Mitigation and workarounds

Users should update the Groundhogg plugin to a version beyond 4.5.14 as soon as a patched release is made available by the vendor (trainingbusinesspros). In the interim, restrict vendor-level account access to trusted users only and monitor for suspicious query activity. Web application firewalls (WAFs) with SQL injection rulesets can provide an additional layer of defense while awaiting a patch (Feedly, VulDB).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-16145HIGH7.2
  • gdpr-compliant-recaptcha-for-all-forms
NoYesAug 15, 2026
CVE-2026-18387MEDIUM6.5
  • groundhogg
NoYesAug 15, 2026
CVE-2026-16586MEDIUM6.5
  • contest-gallery
NoYesAug 15, 2026
CVE-2026-17090MEDIUM6.4
  • beaver-builder-lite-version
NoYesAug 15, 2026
CVE-2026-16146MEDIUM4.9
  • gdpr-compliant-recaptcha-for-all-forms
NoYesAug 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management