CVE-2026-16056

Contest Gallery < 30.0.7 - Subscriber+ OpenAI Prompt History Disclosure via post_cg_get_openai_prompts

Published Aug 4, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
The Contest Gallery WordPress plugin before 30.0.7 does not perform any capability or nonce check in one of its handlers, allowing any authenticated user down to Subscriber to read the site's entire stored OpenAI prompt history.

Analysis

AI-generated

Technical impact

The Contest Gallery WordPress plugin implements a handler named post_cg_get_openai_prompts that does not perform a capability or nonce check. Consequently, any authenticated user with a Subscriber role can trigger the handler and retrieve the full history of OpenAI prompts stored by the plugin. This allows disclosure of potentially sensitive user input, internal usage patterns, or private data kept on the site.

Affected Systems

Any WordPress installation that has the Contest Gallery plugin version earlier than 30.0.7 is affected. The plugin is identified by the vendor name Contest Gallery; therefore, sites running this plugin prior to the specified version should be reviewed and assessed for exposure.

Risk and Exploitability

The vulnerability is exploitable using only local authenticated access; any user who can log in as a Subscriber can read the prompt history. No privilege escalation is necessary. The CVSS score of 4.3 indicates low severity, the EPSS score of <1% reflects a low probability of exploitation, and the issue is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Contest Gallery plugin to version 30.0.7 or later, which includes the proper capability and nonce checks for the post_cg_get_openai_prompts handler.
  • If an immediate update cannot be applied, disable or block the vulnerable REST endpoint for users lacking appropriate capabilities by editing the plugin files or configuring a security plugin to restrict access.
  • Audit the Subscriber role and any custom roles to ensure they do not possess capabilities that allow access to the endpoint; apply least‑privilege principles.
  • (Optional) Review and enforce nonce verification on all AJAX calls in the plugin to prevent unauthorized requests.

Generated by OpenCVE AI on August 4, 2026 at 22:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
Weaknesses CWE-284
CWE-862
Type Values Removed Values Added
First Time appeared Contest-gallery
Contest-gallery contest Gallery
Wordpress
Wordpress wordpress
Vendors & Products Contest-gallery
Contest-gallery contest Gallery
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The Contest Gallery WordPress plugin before 30.0.7 does not perform any capability or nonce check in one of its handlers, allowing any authenticated user down to Subscriber to read the site's entire stored OpenAI prompt history.
Title Contest Gallery < 30.0.7 - Subscriber+ OpenAI Prompt History Disclosure via post_cg_get_openai_prompts
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Aug 4, 2026, 5:38 PM
Reserved
Jul 17, 2026, 12:05 PM
Status
Deferred
Published
Aug 4, 2026, 7:16 AM
Modified
Aug 26, 2026, 4:31 PM