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.
CVE-2026-8912
Score 7.5 from GitHub Security Advisory (severity: HIGH) published 2026-05-19. NVD baseline CVSS 7.5; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EPSS
- 31.3%
- KEV
- Not listed
Published
May 19, 2026
Last Modified
May 19, 2026
References (5)
- security@wordfencehttps://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.5/ajax/ajax-functions-frontend.php#L837
- security@wordfencehttps://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.5/functions/frontend/cg-general-frontend.php#L12
- security@wordfencehttps://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.5/v10/v10-frontend/user_upload/users-upload-check.php#L1036
- security@wordfencehttps://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.5/v10/v10-frontend/user_upload/users-upload-check.php#L1193
- security@wordfencehttps://www.wordfence.com/threat-intel/vulnerabilities/id/71f2f8c4-00ee-4ab4-b0e0-9ddac46818b3?source=cve
Vendor Advisories for CVE-2026-8912(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 54× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 143 total refreshes for this CVE.
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 20:58 UTCEG score recompute
- 2026-06-29 20:58 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 08:08 UTCEG score recompute
- 2026-06-28 08:08 UTCGHSA enrichment
- 2026-06-28 04:56 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-27 20:49 UTCEG score recompute
- 2026-06-27 20:49 UTCGHSA enrichment
- 2026-06-27 07:41 UTCEG score recompute
- 2026-06-27 07:41 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 19:50 UTCEG score recompute
- 2026-06-26 19:50 UTCGHSA enrichment
- 2026-06-26 04:45 UTCEG score recompute
- 2026-06-26 04:45 UTCGHSA enrichment
- 2026-06-25 17:15 UTCEG score recompute
- 2026-06-25 17:15 UTCGHSA enrichment
- 2026-06-25 13:50 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 23:43 UTCEG score recompute
- 2026-06-17 23:43 UTCGHSA enrichment
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 11:56 UTCEG score recompute
- 2026-06-17 11:56 UTCGHSA enrichment
- 2026-06-16 21:18 UTCEG score recompute
- 2026-06-16 21:18 UTCGHSA enrichment
- 2026-06-16 17:53 UTCEPSS rescore
- 2026-06-16 03:54 UTCEG score recompute
- 2026-06-16 03:54 UTCGHSA enrichment
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 16:36 UTCEG score recompute
- 2026-06-15 16:35 UTCGHSA enrichment
- 2026-06-15 00:59 UTCEG score recompute
- 2026-06-15 00:59 UTCGHSA enrichment
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-14 13:40 UTCEG score recompute
- 2026-06-14 13:39 UTCGHSA enrichment
- 2026-06-14 02:21 UTCEG score recompute
- 2026-06-14 02:21 UTCGHSA enrichment
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 15:01 UTCEG score recompute
- 2026-06-13 15:01 UTCGHSA enrichment
- 2026-06-13 03:42 UTCEG score recompute
- 2026-06-13 03:41 UTCGHSA enrichment
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 15:59 UTCEG score recompute
- 2026-06-12 15:59 UTCGHSA enrichment
- 2026-06-12 04:05 UTCEG score recompute
- 2026-06-12 04:05 UTCGHSA enrichment
- 2026-06-11 16:47 UTCEG score recompute
- 2026-06-11 16:47 UTCGHSA enrichment
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 04:04 UTCEG score recompute
- 2026-06-11 04:04 UTCGHSA enrichment
- 2026-06-10 22:19 UTCEPSS rescore
- 2026-06-10 16:45 UTCEG score recompute
- 2026-06-10 16:45 UTCGHSA enrichment
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 05:28 UTCEG score recompute
- 2026-06-10 05:28 UTCGHSA enrichment
- 2026-06-09 18:10 UTCEG score recompute
- 2026-06-09 18:10 UTCGHSA enrichment
- 2026-06-09 06:53 UTCEG score recompute
- 2026-06-09 06:53 UTCGHSA enrichment
- 2026-06-08 19:35 UTCEG score recompute
- 2026-06-08 19:35 UTCGHSA enrichment
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 07:01 UTCEG score recompute
- 2026-06-08 07:01 UTCGHSA enrichment
- 2026-06-07 19:44 UTCEG score recompute
- 2026-06-07 19:44 UTCGHSA enrichment
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 08:26 UTCEG score recompute
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-8912?
When was CVE-2026-8912 disclosed?
Is CVE-2026-8912 actively exploited?
What is the CVSS score of CVE-2026-8912?
How do I remediate CVE-2026-8912?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-8912
Is Your Infrastructure Affected by CVE-2026-8912?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.