Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-16586: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe

0
Medium
VulnerabilityCVE-2026-16586cvecve-2026-16586cwe-89
Published: 08/15/2026 (08/15/2026, 03:25:57 UTC)
Source: CVE Database V5
Vendor/Project: contest-gallery
Product: Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe

Description

The Contest Gallery WordPress plugin is affected by a second-order SQL injection vulnerability in all versions up to and including 30.0.7. This flaw allows authenticated users with author-level access or higher to inject additional SQL queries via a specific parameter, potentially exposing sensitive database information. The vulnerability arises from insufficient escaping and preparation of user-supplied input in SQL commands.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected software

Affected versions
<=30.0.7

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/15/2026, 03:58:41 UTC

Technical Analysis

CVE-2026-16586 describes a second-order SQL injection vulnerability in the Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe WordPress plugin. The issue occurs through the 'cg_multiple_files_for_post' parameter, specifically the 'cgRealId' field, due to inadequate escaping and lack of proper SQL query preparation. Authenticated attackers with author-level privileges or above can append malicious SQL queries to existing ones, enabling extraction of sensitive data from the database. The vulnerability affects all versions up to and including 30.0.7.

Potential Impact

An attacker with author-level access or higher can exploit this vulnerability to extract sensitive information from the database by injecting additional SQL queries. The vulnerability does not impact availability or integrity directly but compromises confidentiality of the data stored in the database.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict author-level access to trusted users only and monitor for suspicious activity related to the vulnerable parameter. Avoid using the affected plugin versions in sensitive environments.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-07-22T13:45:47.903Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7fe005bf8831d5395c168a

Added to database: 08/15/2026, 03:41:57 UTC

Last enriched: 08/15/2026, 03:58:41 UTC

Last updated: 08/15/2026, 04:02:18 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses