CVE-2026-16586
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.
Published:Aug 15, 2026
Last Modified:Aug 17, 2026
EPS:Aug 15, 2026
EPSS Score:0.00328
CVSS Score:6.5
Affected Products
Vendor
Product
Action
Vendor
Contest-gallery
Product
Contest Gallery – Upload & Vote Photos, Media, Sell With Paypal & Stripe
Contest-gallery
Contest Gallery – Upload & Vote Photos, Media, Sell With Paypal & Stripe
Vendor
Wordpress
Product
Wordpress
Wordpress
Wordpress
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
