Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-16586 EUVD-2026-58858GHSA-c955-3f9v-xpgv

Contest Gallery <= 30.0.6 - Authenticated (Author+) Second-Order SQL Injection via MultipleFiles Second-Order Payload via 'cg_multiple_files_for_post' -> 'cgRealId'

Published Aug 15, 2026 · Updated Aug 17, 2026 · Assigned by Wordfence

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.

Affected products

VendorProductAffectedFixed
contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe ≤ 30.0.7 —

References