Read the docs
TI-2026-07833 Aliases CVE-2026-8912GHSA-7v7x-p7vg-p2vc

Contest Gallery <= 28.1.6 - Unauthenticated SQL Injection

Priority LOW 39CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · None · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00391 33rd percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Wasiliy Strecker / ContestGallery developerContest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripeup to 28.1.6—No fix listedCNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:contest-gallery:contest_gallery:*:*:*:*:*:*:*:*——Wasiliy Strecker / ContestGallery developer

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-8912
  2. 2026-10-03 Alias added: GHSA-7v7x-p7vg-p2vc

References

  • TI-2022-03804 Contest Gallery < 19.1.5 - Unauthenticated SQL Injection CVSS 3.1HIGH 7.5
  • TI-2022-03802 Contest Gallery < 19.1.5.1 - Unauthenticated SQL Injection CVSS 3.1HIGH 7.5
  • TI-2024-26556 WordPress Contest Gallery plugin <= 23.1.2 - Cross Site Scripting (XSS) vulnerability CVSS 3.1HIGH 7.1
  • TI-2022-03797 Contest Gallery < 19.1.5 - Admin+ SQL Injection CVSS 3.1MEDIUM 6.5
  • TI-2022-03812 Contest Gallery < 19.1.5 - Author+ SQL Injection CVSS 3.1MEDIUM 6.5
  • TI-2022-03811 Contest Gallery < 19.1.5 - Author+ SQL Injection CVSS 3.1MEDIUM 6.5
See all 54 →

Sources