SQL Injection in Contest-Gallery Contest Gallery – Upload & Vote Photos, Media, Sell With Paypal Stripe
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.006 (43.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 44th percentile — 43.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.006 · change: +0.002
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/294e1822-b92c-48a4-bfc6-5a89c…
- plugins.trac.wordpress.org/browser/contest-gallery/tags/30.0.6/ajax/ajax-functi…
- plugins.trac.wordpress.org/browser/contest-gallery/tags/30.0.7/ajax/ajax-functi…
- plugins.trac.wordpress.org/browser/contest-gallery/tags/30.0.7/ajax/ajax-functi…
- plugins.trac.wordpress.org/browser/contest-gallery/tags/30.0.7/ajax/ajax-functi…
- plugins.trac.wordpress.org/browser/contest-gallery/tags/30.0.7/v10/v10-admin/ga…
- plugins.trac.wordpress.org/browser/contest-gallery/tags/30.0.7/v10/v10-admin/ga…
- plugins.trac.wordpress.org/browser/contest-gallery/tags/30.0.6/ajax/ajax-functi…
- plugins.trac.wordpress.org/browser/contest-gallery/tags/30.0.6/ajax/ajax-functi…
- plugins.trac.wordpress.org/browser/contest-gallery/tags/30.0.6/v10/v10-admin/ga…
Frequently asked questions
- What is CVE-2026-16586?
- CVE-2026-16586 is a medium-severity vulnerability in Contest-Gallery Contest Gallery – Upload & Vote Photos, Media, Sell With Paypal Stripe, classified under SQL Injection. CVSS score: 6.5/10. Published 2026-08-15.
- How severe is CVE-2026-16586?
- Medium severity. CVSS v3 base score is 6.5 out of 10.