The Contest Gallery plugin for WordPress is vulnerable to SQL Injection via the 'form_input' parameter in versions up to, and including, 28.1.6. This is due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query inside the unauthenticated 'post_cg_gallery_form_upload' AJAX action (specifically the 'cb' branch of the included users-upload-check.php, where $f_input_id is concatenated unquoted into 'SELECT Field_Content FROM ... WHERE id = $f_input_id'). The endpoint is gated only by a public frontend nonce ('cg1l_action' / 'cg_nonce') that is exposed in the page source of any public gallery page. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Exploitability Profile
None Observed
No active abuse flagged
Not Observed
No public PoC links extracted
Confirmed
1 patch mentions · 2 advisories
Stable
Peak 1 on Jun 5, 2026
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Monitor mention velocity for PoC drops, exploit tooling, or active exploitation inflection.
| Authority |
|---|
Triage Priority
CVSS v3.1
Source: Wordfence

2mentions
Across 2 tracked days
| Version |
|---|
| Score |
|---|
| Vector String |
|---|
CNAWordfence | v3.1 | 7.5HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
2 total mentions across 2 observed days · Peak 1 on Jun 5, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.