CVE-2026-8912: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe
The Contest Gallery WordPress plugin up to version 28. 1. 6 contains an SQL Injection vulnerability via the 'form_input' parameter in an unauthenticated AJAX action. This flaw allows attackers to inject arbitrary SQL commands due to insufficient input sanitization and the use of a publicly exposed nonce for access control. Exploitation can lead to unauthorized disclosure of sensitive database information. The vulnerability has a high severity rating with a CVSS score of 7. 5. No official patch or remediation guidance is currently available from the vendor.
AI Analysis
Technical Summary
CVE-2026-8912 is an SQL Injection vulnerability in the Contest Gallery plugin for WordPress, affecting versions up to 28.1.6. The issue arises from improper neutralization of special elements in the 'form_input' parameter used in the 'post_cg_gallery_form_upload' AJAX action. Specifically, the parameter $f_input_id is concatenated unquoted into an SQL query, allowing unauthenticated attackers to append additional SQL commands. The endpoint is protected only by a public frontend nonce exposed in the page source, which does not provide effective security. This vulnerability enables extraction of sensitive information from the database without authentication.
Potential Impact
An attacker can exploit this vulnerability to perform SQL Injection attacks, potentially extracting sensitive information from the database. The vulnerability does not allow modification or deletion of data (no integrity or availability impact indicated), but confidentiality is compromised. The attack requires no privileges or user interaction and can be performed remotely over the network.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, consider restricting access to the affected AJAX endpoint or implementing web application firewall (WAF) rules to detect and block malicious SQL payloads targeting the 'form_input' parameter. Monitor for updates from the vendor and apply patches promptly once available.
CVE-2026-8912: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe
Description
The Contest Gallery WordPress plugin up to version 28. 1. 6 contains an SQL Injection vulnerability via the 'form_input' parameter in an unauthenticated AJAX action. This flaw allows attackers to inject arbitrary SQL commands due to insufficient input sanitization and the use of a publicly exposed nonce for access control. Exploitation can lead to unauthorized disclosure of sensitive database information. The vulnerability has a high severity rating with a CVSS score of 7. 5. No official patch or remediation guidance is currently available from the vendor.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-8912 is an SQL Injection vulnerability in the Contest Gallery plugin for WordPress, affecting versions up to 28.1.6. The issue arises from improper neutralization of special elements in the 'form_input' parameter used in the 'post_cg_gallery_form_upload' AJAX action. Specifically, the parameter $f_input_id is concatenated unquoted into an SQL query, allowing unauthenticated attackers to append additional SQL commands. The endpoint is protected only by a public frontend nonce exposed in the page source, which does not provide effective security. This vulnerability enables extraction of sensitive information from the database without authentication.
Potential Impact
An attacker can exploit this vulnerability to perform SQL Injection attacks, potentially extracting sensitive information from the database. The vulnerability does not allow modification or deletion of data (no integrity or availability impact indicated), but confidentiality is compromised. The attack requires no privileges or user interaction and can be performed remotely over the network.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, consider restricting access to the affected AJAX endpoint or implementing web application firewall (WAF) rules to detect and block malicious SQL payloads targeting the 'form_input' parameter. Monitor for updates from the vendor and apply patches promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-18T22:16:07.462Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0c560fec166c07b09e6aeb
Added to database: 5/19/2026, 12:22:39 PM
Last enriched: 5/19/2026, 12:36:35 PM
Last updated: 5/19/2026, 1:23:47 PM
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.