CVE-2026-18387
JSON

6.5medium

Groundhogg <= 4.5.14 - Authenticated (Vendor+) SQL Injection via 'tag_query' Parameter

Severity
6.5medium CVSS:3.1 by Wordfence
Exploit likelihood
0.38% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

Description

The Groundhogg — CRM, Newsletters, and Marketing Automation plugin for WordPress is vulnerable to generic SQL Injection via the 'tag_query' parameter in all versions up to, and including, 4.5.14 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 vendor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. 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 dispatches execution away from the modern query handler.

Affected

Product or packageVersionsReported by
trainingbusinesspros Groundhogg — CRM, Newsletters, and Marketing Automationup to 4.5.14CVE List

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/04881aac-9d3b-48c0-b095-e91797df46e3?source=cve
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.14/includes/tag-query.php#L415
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.14/includes/tag-query.php#L393
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.14/includes/legacy-contact-query.php#L548
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.14/includes/contact-query.php#L2599
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.14/api/v4/contacts-api.php#L230
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.6/includes/tag-query.php#L415
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.6/includes/tag-query.php#L393
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.6/includes/legacy-contact-query.php#L548
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.6/includes/contact-query.php#L2599
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.6/api/v4/contacts-api.php#L230
https://plugins.trac.wordpress.org/changeset?reponame=&old=3643654%40groundhogg&new=3643654%40groundhogg

Sources

SourceRecordLicence
CVE ListCVE-2026-18387 changed 2026-08-17CVE Terms of Use
NVDCVE-2026-18387 changed 2026-08-20Public domain