{
 "id": "WPSEC-2026-0783",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0783/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0783/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0783/index.md",
 "title": "Contest Gallery <= 34.0.0 - Unauthenticated Voting Restriction Bypass via IP Address Spoofing",
 "description": "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.",
 "plugin": {
  "slug": "contest-gallery",
  "name": "Contest Gallery",
  "full_name": "Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe",
  "wordpress_org": "https://wordpress.org/plugins/contest-gallery/",
  "advisories_url": "https://wpsec.com/vuln/plugin/contest-gallery/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/contest-gallery"
 },
 "type": "BYPASS",
 "cwe": [
  "CWE-348"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "34.0.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 34.0.1"
  ]
 },
 "introduced_in": null,
 "fixed_in": "34.0.1",
 "remediation": "Update to 34.0.1 or later.",
 "fix_released": "2026-10-11T09:16:00+00:00",
 "published": "2026-10-12T09:46:17+00:00",
 "updated": "2026-10-11T11:41:39.425802+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0783/",
  "https://plugins.svn.wordpress.org/contest-gallery/tags/34.0.1/",
  "https://wordpress.org/plugins/contest-gallery/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/contest-gallery",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "None seen",
  "as_of": "2026-10-12"
 }
}