CVE-2026-13226
JSON

6.5medium

Groundhogg <= 4.5.4 - Authenticated (Custom+) SQL Injection via 'after' Parameter

Severity
6.5medium CVSS:3.1 by Wordfence
Exploit likelihood
0.27% (higher than 21% 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 'after' parameter in all versions up to, and including, 4.5.4 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 Manager-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 AJAX handler wp_ajax_groundhogg_get_contacts_table has its capability check commented out and performs no nonce verification, meaning any authenticated user regardless of role can reach the vulnerable code path.

Affected

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

Classification

CWE-89

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

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/f2ba40d9-2d37-453a-a731-078f1de1fc69?source=cve
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.4/includes/legacy-contact-query.php#L1013
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.4/includes/legacy-contact-query.php#L1017
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.4/admin/contacts/contacts-page.php#L766
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.4/admin/contacts/tables/contacts-table.php#L101
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.4/includes/contact-query.php#L2586
https://plugins.trac.wordpress.org/browser/groundhogg/tags/4.5.4/includes/functions.php#L679
https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3585561%40groundhogg&new=3585561%40groundhogg&sfp_email=&sfph_mail=

Sources

SourceRecordLicence
CVE ListCVE-2026-13226 changed 2026-06-26CVE Terms of Use
NVDCVE-2026-13226 changed 2026-06-26Public domain