Skip to content

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

MediumCVSS 6.5 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
WordPress

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe <= 30.0.7 after 30.0.7 Fixed
wordpress contest-gallery(WordPress) < 31.0.0 31.0.0 Fixed

Affected products

ProductAffected versionsFixed in
contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe <= 30.0.7 No fix listed
wordpress contest-gallery(WordPress) < 31.0.0 31.0.0

References