Description
The Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Overwrite in all versions up to, and including, 32.0.1 due to insufficient file path validation in the 'baseUrlForFacebook' parameter. This makes it possible for authenticated attackers, with subscriber-level access and above, to overwrite known files which may lead to remote code execution when certain preconditions are met.
Published: 2026-09-16
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Patch Immediately
AI Analysis

Impact

The Contest Gallery WordPress plugin allows an attacker to overwrite files through the baseUrlForFacebook parameter because the code does not validate the file path. An authenticated user with subscriber-level privileges or higher can supply a crafted value that will overwrite a specified file on the server. If the overwritten file is a PHP script or another executable component, the attacker can run arbitrary code, which is the primary concern identified as a Remote Code Execution vulnerability and aligns with CWE‑434.

Affected Systems

All releases of Contest Gallery up to and including version 32.0.1 are vulnerable. The plugin is used to upload and vote photos, distribute media, and manage e‑commerce payments via PayPal and Stripe on WordPress sites. Site administrators who have installed any of these affected versions are exposed if they have not applied the 33.0.0 update that sanitizes the baseUrlForFacebook parameter.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity, while an EPSS score of less than 1 % suggests that exploitation is currently unlikely but not impossible. The vulnerability is not listed in CISA’s KEV catalog. Attackers must first obtain a subscriber-level or higher authenticated session, which is the main prerequisite for exploitation. Once authenticated, a malformed baseUrlForFacebook payload can overwrite critical files, potentially resulting in remote code execution if the overwritten file is subsequently executed by the web server.

Generated by OpenCVE AI on September 18, 2026 at 12:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Contest Gallery plugin to version 33.0.0 or newer, which sanitizes the baseUrlForFacebook parameter.
  • Restrict write permissions for the WordPress upload directory and plugin files so the web‑server user cannot modify them.
  • Use a web application firewall or security plugin to block or sanitize the baseUrlForFacebook parameter and other file upload inputs.
  • Regularly review user roles and remove any subscriber accounts that are no longer required, reducing the pool of accounts that could exploit the flaw.

Generated by OpenCVE AI on September 18, 2026 at 12:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 16 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 16 Sep 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Contest-gallery
Contest-gallery contest Gallery – Upload & Vote Photos, Media, Sell With Paypal & Stripe
Wordpress
Wordpress wordpress
Vendors & Products Contest-gallery
Contest-gallery contest Gallery – Upload & Vote Photos, Media, Sell With Paypal & Stripe
Wordpress
Wordpress wordpress

Wed, 16 Sep 2026 03:45:00 +0000

Type Values Removed Values Added
Description The Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Overwrite in all versions up to, and including, 32.0.1 due to insufficient file path validation in the 'baseUrlForFacebook' parameter. This makes it possible for authenticated attackers, with subscriber-level access and above, to overwrite known files which may lead to remote code execution when certain preconditions are met.
Title Contest Gallery <= 32.0.1 - Unauthenticated Arbitrary File Upload via 'baseUrlForFacebook' Parameter
Weaknesses CWE-434
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell With Paypal & Stripe
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-16T18:37:52.460Z

Reserved: 2026-08-22T16:08:31.565Z

Link: CVE-2026-78088

cve-icon Vulnrichment

Updated: 2026-09-16T18:36:59.195Z

cve-icon NVD

Status : Deferred

Published: 2026-09-16T04:18:41.503

Modified: 2026-09-16T19:17:39.820

Link: CVE-2026-78088

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-18T12:45:08Z

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type