# Groundhogg <= 4.12 - Authenticated (Sales Representative+) Missing Authorization to Email, Flow and Broadcast Modification and Deletion via REST API Query Parameters

- **ID:** WPSEC-2026-4347
- **Plugin:** Groundhogg — AI CRM, Newsletters, and Marketing Automation (`groundhogg`), https://wordpress.org/plugins/groundhogg/
- **Affected versions:** all versions before 4.13
- **Fixed in:** 4.13 (Update to 4.13 or later.)
- **Severity:** High 8.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H)
- **Weakness:** CWE-862
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-01)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/groundhogg
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4347/

## Description

The Groundhogg plugin for WordPress is vulnerable to unauthorized modification and deletion of data via the 'operation' and 'data' query parameters of the REST API list routes (such as GET /gh/v4/emails, /gh/v4/funnels and /gh/v4/broadcasts) in all versions up to, and including, 4.12, due to the read, bulk update and bulk delete handlers passing request parameters unfiltered to DB::query(), which runs an UPDATE or DELETE on the matching rows when the query asks for it, bypassing the per-object permission checks. This makes it possible for authenticated attackers with Sales Representative-level access and above, who may only view these items, to modify or delete emails, flows and broadcasts. On sites configured as Groundhogg template sites, the emails and funnels read routes are public, so unauthenticated attackers can do the same there.

## References

- https://wpsec.com/vuln/WPSEC-2026-4347/
- https://plugins.svn.wordpress.org/groundhogg/tags/4.13/
- https://wordpress.org/plugins/groundhogg/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4347/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
