CVE-2026-16586: contest-gallery contest gallery – upload & vote photos, media, sell with paypal & stripe SQL Injection
Vulnerability summary
CVE-2026-16586 is a medium (CVSS 6.5) SQL Injection vulnerability in contest-gallery contest gallery – upload & vote photos, media, sell with paypal & stripe. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 45.3% of scored vulnerabilities. Fixed in 31.0.0.
Timeline
- 15-08-2026PublishedVulnerability first disclosed.
- 17-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- wordfenceSource6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.55%
Chance of exploitation in the next 30 days
Percentile
45%
Versus all other CVEs
30-day change
+0.23 pp
From 0.32% on 22-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Contest-gallery1 product
Wordpress1 product
- contest-gallery≤ 30.0.7 (fixed in 31.0.0)
2 vendors · 2 products