{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-0783",
 "modified": "2026-11-23T07:06:33Z",
 "published": "2026-10-12T09:46:17Z",
 "summary": "Contest Gallery <= 34.0.0 - Unauthenticated Voting Restriction Bypass via IP Address Spoofing",
 "details": "The Contest Gallery plugin for WordPress is vulnerable to Voting Restriction Bypass via IP address spoofing in all versions up to, and including, 34.0.0, due to the cg_get_user_ip() function trusting client-supplied HTTP headers such as Client-IP and X-Forwarded-For when it works out the voter's IP address. This makes it possible for unauthenticated attackers to spoof their IP address and get around the IP-based voting limits (one vote per entry, votes per user, votes per time interval), and so manipulate contest results in galleries that use IP-based voting restrictions.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "contest-gallery"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "34.0.1"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 34.0.1"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-0783/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/contest-gallery/tags/34.0.1/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/contest-gallery/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-0783/",
  "cwe_ids": [
   "CWE-348"
  ],
  "vulnerability_type": "BYPASS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
