7.5

CVE-2026-8912: contest-gallery contest gallery – upload & vote photos, media, sell with paypal & stripe SQL Injection

CVSS: 7.5v3.1HighDeferred
Published 19-05-2026Last modified 19-05-2026

Vulnerability summary

CVE-2026-8912 is a high (CVSS 7.5) SQL Injection vulnerability in contest-gallery contest gallery – upload & vote photos, media, sell with paypal & stripe. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 42.2% of scored vulnerabilities. Fixed in 28.1.7.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.51%
0%100%
Low · +0.11 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 19-05-2026
    PublishedVulnerability first disclosed.
  2. 19-05-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.51%

Chance of exploitation in the next 30 days

Percentile

42%

Versus all other CVEs

30-day change

+0.11 pp

From 0.39% on 22-09-2026

22-09-202622-10-2026
EPSS score
0.51%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Contest-gallery1 product
Wordpress1 product
  • contest-gallery≤ 28.1.6 (fixed in 28.1.7)

2 vendors · 2 products

References

6 links