Second-Order SQL Injection Vulnerability in Contest Gallery Plugin for WordPress

MonitorSensitive data exposure over the network by a logged-in user.
6.5MEDIUM

CVE-2026-16586

Key Information:

Vendor

WordPress

CVE ID
CVE ID:
CVE-2026-16586
Vendor
CVE Published:
15 August 2026

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Contest Gallery – Upload & Vote Photos, Media, Sell With Paypal & Stripe. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (6.5).

What is CVE-2026-16586?

The Contest Gallery plugin for WordPress presents a vulnerability related to second-order SQL injection through insufficient parameter escaping on 'cg_multiple_files_for_post' with 'cgRealId' input. This flaw allows authenticated attackers, who have author-level access or higher, to inject malicious SQL code into existing queries. This can lead to unauthorized access and extraction of sensitive database information, compromising overall security and potentially exposing user data.

Affected Version(s)

Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe 0 <= 30.0.7

References

SQL Injection Vulnerability in Hello Clever Gateway for WooCommerce by Hello Clever Pty

CVE-2026-136113
WordPressHello Clever Gateway F...9.3CRITICAL

Object Injection in Ultimate Member

CVE-2026-134481
WordPressUltimate MemberπŸ˜„9.8CRITICAL

Unauthorized Password Reset in User Registration Aide Plugin for WordPress

CVE-2026-121385
WordPressUser Registration AideπŸ‘Ύ9.8CRITICAL
View more WordPress vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Credit

Wordfence PRISM
.