CVE-2026-78088

Contest Gallery <= 32.0.1 - Unauthenticated Arbitrary File Upload via 'baseUrlForFacebook' Parameter

Published Sep 16, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Sep 16, 2026, 6:37 PM
Reserved
Aug 22, 2026, 4:08 PM
Status
Deferred
Published
Sep 16, 2026, 4:18 AM
Modified
Sep 16, 2026, 7:17 PM