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'

Published Aug 15, 2026
·
Updated

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 'cgmultiplefilesforpost' -> '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 Software

1 affected component
WordPress Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe<=30.0.7

Event History

Aug 15, 2026
CVE Published
via MITRE·03:25 AM
Data Sourced
via MITRE·03:25 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-16586?

The severity of CVE-2026-16586 is medium with a score of 6.5.

2

How do I fix CVE-2026-16586?

To fix CVE-2026-16586, upgrade the Contest Gallery plugin to version 30.0.7 or later.

3

What is the impact of CVE-2026-16586?

CVE-2026-16586 can result in an authenticated second-order SQL injection, potentially compromising sensitive data.

4

What versions are affected by CVE-2026-16586?

CVE-2026-16586 affects all versions of the Contest Gallery plugin up to and including version 30.0.6.

5

What causes CVE-2026-16586?

CVE-2026-16586 is caused by insufficient escaping within the 'cg_multiple_files_for_post' -> 'cgRealId' functionality.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203