Skip to main content
EPSS 0.6%top 56%

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
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 – Upload & Vote Photos, Media, Sell with PayPal & Stripe plugin for WordPress is vulnerable to Second-Order SQL Injection via MultipleFiles Second-Order Payload via 'cg_multiple_files_for_post' -> 'cgRealId' in all versions up to, and including, 30.0.7 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with author-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

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

contest-gallery

Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe

Affected versions
>=0 <=30.0.7

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/22/2026, 13:20:29 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 flaw exists in all versions up to and including 30.0.7, specifically via the 'cg_multiple_files_for_post' parameter leading to the 'cgRealId' SQL query. Due to improper neutralization of special elements in SQL commands (CWE-89), authenticated attackers with author-level privileges can inject additional SQL commands into existing queries. This can be leveraged to extract sensitive information from the database. The CVSS 3.1 base score is 6.5 (medium severity), reflecting network attack vector, low attack complexity, and limited privileges required.

Potential Impact

An attacker with author-level or higher privileges can exploit this vulnerability to perform SQL injection attacks that may disclose sensitive information from the database. The vulnerability does not impact integrity or availability but compromises confidentiality. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict author-level access where possible and monitor for suspicious activity related to SQL injection attempts involving the 'cg_multiple_files_for_post' parameter.

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

Threat ID: 6a7fe005bf8831d5395c168a

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

Last enriched: 08/22/2026, 13:20:29 UTC

Last updated: 09/29/2026, 18:11:16 UTC

Views: 81

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