{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4348",
 "modified": "2026-12-01T22:45:29Z",
 "published": "2026-12-01T22:45:29Z",
 "summary": "Groundhogg <= 4.12 - Authenticated (Sales Representative+) SQL Injection via 'activity' Contact Query Parameter",
 "details": "The Groundhogg plugin for WordPress is vulnerable to SQL Injection via the activity type ('activity[type]') of the contact query, for example on the GET /gh/v4/contacts REST route, in all versions up to, and including, 4.12, due to the activity type being concatenated into a table alias in the SQL join without escaping or validation. This makes it possible for authenticated attackers with Sales Representative-level access and above (view_contacts) to append additional SQL to existing queries and extract sensitive information from the database.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "groundhogg"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "4.13"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 4.13"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4348/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/groundhogg/tags/4.13/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/groundhogg/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4348/",
  "cwe_ids": [
   "CWE-89"
  ],
  "vulnerability_type": "SQLI",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
