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
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe
through 30.0.7
References 12
plugins.trac.wordpress.org
- browser/contest-gallery/tags/30.0.6/ajax/ajax-functions-backend.php#L310
- browser/contest-gallery/tags/30.0.7/ajax/ajax-functions-backend.php#L310
- browser/contest-gallery/tags/30.0.7/ajax/ajax-functions-backend.php#L286
- browser/contest-gallery/tags/30.0.7/ajax/ajax-functions-backend.php#L135
- browser/contest-gallery/tags/30.0.7/v10/v10-admin/gallery/change-gallery/0_change-gallery.php#L475
- browser/contest-gallery/tags/30.0.7/v10/v10-admin/gallery/change-gallery/0_change-gallery.php#L683
- browser/contest-gallery/tags/30.0.6/ajax/ajax-functions-backend.php#L286
- browser/contest-gallery/tags/30.0.6/ajax/ajax-functions-backend.php#L135
- browser/contest-gallery/tags/30.0.6/v10/v10-admin/gallery/change-gallery/0_change-gallery.php#L475
- browser/contest-gallery/tags/30.0.6/v10/v10-admin/gallery/change-gallery/0_change-gallery.php#L683
- changeset?reponame=&old=3631928%40contest-gallery&new=3631928%40contest-gallery