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
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.
AI Analysis
Technical Summary
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.
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
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
Affected software
contest-gallery
Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.