CVE-2026-18387

medium

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.

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/04881aac-9d3b-48c0-b095-e91797df46e3?source=cve

https://plugins.trac.wordpress.org/changeset?reponame=&old=3643654%40groundhogg&new=3643654%40groundhogg

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/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

Details

Source: Mitre, NVD

Published: 2026-08-15

Updated: 2026-08-15

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Severity: Medium

EPSS

EPSS: 0.00392