{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-1042",
 "modified": "2026-11-23T07:06:33Z",
 "published": "2026-10-15T21:43:23Z",
 "summary": "Gmedia Photo Gallery <= 1.25.1 - Cross-Site Request Forgery to Arbitrary Gmedia Term Deletion via Module Preset Restore",
 "details": "The Gmedia Photo Gallery plugin for WordPress is vulnerable to Cross-Site Request Forgery via the 'module_preset_restore_original' action of the Gmedia Galleries admin page in all versions up to, and including, 1.25.1, due to missing nonce validation and no check on the term the 'preset_default' parameter points to. This makes it possible for unauthenticated attackers to delete any Gmedia term (module presets, galleries, albums, categories or tags), together with its linked WordPress post, via a forged request. The attacker has to trick a site administrator, or another user granted the Gmedia gallery management capability, into performing an action such as clicking on a link.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "grand-media"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "1.25.2"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 1.25.2"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-1042/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/grand-media/tags/1.25.2/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/grand-media/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-1042/",
  "cwe_ids": [
   "CWE-352"
  ],
  "vulnerability_type": "CSRF",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
