📧 info@ciso.sa | 📱 +966550939344 | Riyadh, Kingdom of Saudi Arabia
🔧 Scheduled Maintenance — Saturday 2:00-4:00 AM AST. Some features may be temporarily unavailable.    ●   
💎
Pro Plan 50% Off Unlock all AI features, unlimited reports, and priority support. Upgrade
Search Center
ESC to close
Global apt Managed Service Providers (MSPs) / IT Services HIGH 4h Global vulnerability Enterprise Software HIGH 4h Global general Cybersecurity Operations HIGH 4h Global general Cybersecurity Industry LOW 4h Global supply_chain Multiple Sectors CRITICAL 4h Global vulnerability Government/Federal Agencies HIGH 5h Global malware Enterprise/Multiple Sectors CRITICAL 5h Global data_breach E-commerce and Retail CRITICAL 5h Global vulnerability Government and Public Administration CRITICAL 5h Global vulnerability Physical Security and Surveillance CRITICAL 6h Global apt Managed Service Providers (MSPs) / IT Services HIGH 4h Global vulnerability Enterprise Software HIGH 4h Global general Cybersecurity Operations HIGH 4h Global general Cybersecurity Industry LOW 4h Global supply_chain Multiple Sectors CRITICAL 4h Global vulnerability Government/Federal Agencies HIGH 5h Global malware Enterprise/Multiple Sectors CRITICAL 5h Global data_breach E-commerce and Retail CRITICAL 5h Global vulnerability Government and Public Administration CRITICAL 5h Global vulnerability Physical Security and Surveillance CRITICAL 6h Global apt Managed Service Providers (MSPs) / IT Services HIGH 4h Global vulnerability Enterprise Software HIGH 4h Global general Cybersecurity Operations HIGH 4h Global general Cybersecurity Industry LOW 4h Global supply_chain Multiple Sectors CRITICAL 4h Global vulnerability Government/Federal Agencies HIGH 5h Global malware Enterprise/Multiple Sectors CRITICAL 5h Global data_breach E-commerce and Retail CRITICAL 5h Global vulnerability Government and Public Administration CRITICAL 5h Global vulnerability Physical Security and Surveillance CRITICAL 6h
Vulnerabilities

CVE-2026-8912

High
CWE-89 — Weakness Type
Published: May 19, 2026  ·  Modified: May 26, 2026  ·  Source: NVD
CVSS v3
7.5
🔗 NVD Official
📄 Description (English)

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.

🤖 AI Executive Summary

CVE-2026-8912 is a critical SQL Injection vulnerability in the Contest Gallery WordPress plugin (versions ≤28.1.6) affecting unauthenticated users. The vulnerability exists in the 'post_cg_gallery_form_upload' AJAX action where the 'form_input' parameter is insufficiently escaped, allowing attackers to extract sensitive database information. The vulnerability is particularly severe as it requires only a publicly exposed nonce found in page source, making exploitation trivial for any attacker with access to a WordPress site using this plugin.

📄 Description (Arabic)

🤖 AI Intelligence Analysis Analyzed: May 21, 2026 12:14
🇸🇦 Saudi Arabia Impact Assessment
This vulnerability poses significant risk to Saudi organizations using WordPress with the Contest Gallery plugin, particularly: (1) Government agencies and ministries hosting public galleries or forms on WordPress sites; (2) Banking and financial institutions using WordPress for customer-facing portals or promotional galleries; (3) Healthcare providers (Ministry of Health, private hospitals) with patient information systems; (4) E-commerce and retail sectors (especially those under SAMA oversight for payment processing); (5) Educational institutions and universities; (6) Telecommunications companies (STC, Mobily, Zain) with public-facing WordPress installations. The vulnerability allows extraction of customer data, financial records, personal information, and credentials from databases, directly impacting SAMA-regulated entities and NCA-supervised government systems.
🏢 Affected Saudi Sectors
Government and Public Administration Banking and Financial Services Healthcare and Medical Institutions Energy and Utilities Telecommunications Education and Universities E-commerce and Retail Insurance Real Estate and Property Management
⚖️ Saudi Risk Score (AI)
8.2
/ 10.0
🔧 Remediation Steps (English)
IMMEDIATE ACTIONS:
1. Identify all WordPress installations using Contest Gallery plugin version 28.1.6 or earlier across your organization
2. Disable the plugin immediately: wp-cli plugin deactivate contest-gallery or via WordPress admin dashboard
3. If plugin functionality is critical, isolate affected WordPress instances from production networks

PATCHING GUIDANCE:
1. Monitor the official Contest Gallery plugin repository for security updates (currently no patch available as of CVE publication)
2. Contact plugin developers for patch timeline and interim security measures
3. Once patch is released, test in staging environment before production deployment
4. Implement Web Application Firewall (WAF) rules to block SQL injection patterns targeting the vulnerable endpoint

COMPENSATING CONTROLS (until patch available):
1. Implement database-level access controls: restrict database user permissions to minimum required privileges
2. Enable WordPress security plugins (Wordfence, Sucuri) with SQL injection detection rules
3. Apply ModSecurity rules blocking SQL injection patterns in POST requests to /wp-admin/admin-ajax.php
4. Implement rate limiting on AJAX endpoints to prevent automated exploitation
5. Monitor database query logs for suspicious patterns: UNION SELECT, OR 1=1, SLEEP(), BENCHMARK()
6. Restrict access to WordPress admin-ajax.php to known IP ranges if possible
7. Implement Content Security Policy (CSP) headers to limit data exfiltration

DETECTION RULES:
1. Monitor for POST requests to /wp-admin/admin-ajax.php with action=post_cg_gallery_form_upload containing SQL keywords (UNION, SELECT, OR, AND, SLEEP, BENCHMARK)
2. Alert on database queries containing concatenated user input in WHERE clauses
3. Monitor for unusual database access patterns or large data extractions
4. Log all AJAX requests with form_input parameter values for forensic analysis
5. Implement IDS/IPS signatures for SQL injection attempts targeting this specific endpoint
🔧 خطوات المعالجة (العربية)
الإجراءات الفورية:
1. حدد جميع تثبيتات WordPress التي تستخدم إضافة Contest Gallery الإصدار 28.1.6 أو أقدم عبر مؤسستك
2. عطّل الإضافة فوراً: wp-cli plugin deactivate contest-gallery أو عبر لوحة تحكم WordPress
3. إذا كانت وظيفة الإضافة حرجة، عزل تثبيتات WordPress المتأثرة عن شبكات الإنتاج

إرشادات التصحيح:
1. راقب مستودع إضافة Contest Gallery الرسمي للتحديثات الأمنية (لا يوجد تصحيح متاح حالياً)
2. اتصل بمطوري الإضافة للحصول على جدول زمني للتصحيح والتدابير الأمنية المؤقتة
3. بمجرد إصدار التصحيح، اختبره في بيئة التطوير قبل نشره في الإنتاج
4. طبّق قواعد جدار حماية تطبيقات الويب (WAF) لحظر أنماط حقن SQL التي تستهدف نقطة النهاية الضعيفة

الضوابط البديلة (حتى توفر التصحيح):
1. طبّق ضوابط الوصول على مستوى قاعدة البيانات: قيّد أذونات مستخدم قاعدة البيانات للحد الأدنى المطلوب
2. فعّل إضافات أمان WordPress (Wordfence, Sucuri) مع قواعد كشف حقن SQL
3. طبّق قواعد ModSecurity لحظر أنماط حقن SQL في طلبات POST إلى /wp-admin/admin-ajax.php
4. طبّق تحديد معدل على نقاط نهاية AJAX لمنع الاستغلال الآلي
5. راقب سجلات استعلامات قاعدة البيانات للأنماط المريبة: UNION SELECT, OR 1=1, SLEEP(), BENCHMARK()
6. قيّد الوصول إلى WordPress admin-ajax.php إلى نطاقات IP معروفة إن أمكن
7. طبّق رؤوس سياسة أمان المحتوى (CSP) لتحديد تسرب البيانات

قواعد الكشف:
1. راقب طلبات POST إلى /wp-admin/admin-ajax.php مع action=post_cg_gallery_form_upload التي تحتوي على كلمات SQL (UNION, SELECT, OR, AND, SLEEP, BENCHMARK)
2. أصدر تنبيهات لاستعلامات قاعدة البيانات التي تحتوي على إدخال المستخدم المسلسل في جمل WHERE
3. راقب أنماط الوصول غير العادية إلى قاعدة البيانات أو استخراج البيانات الكبيرة
4. سجّل جميع طلبات AJAX مع قيم معامل form_input للتحليل الجنائي
5. طبّق توقيعات IDS/IPS لمحاولات حقن SQL التي تستهدف نقطة النهاية المحددة هذه
📋 Regulatory Compliance Mapping
🟢 NCA ECC 2024
ECC 2024 A.14.2.1 - Information security requirements for supplier relationships (plugin security) ECC 2024 A.12.6.1 - Management of technical vulnerabilities (SQL injection) ECC 2024 A.14.2.5 - Addressing information security in supplier agreements ECC 2024 A.12.3.1 - Configuration management (secure WordPress configuration)
🔵 SAMA CSF
SAMA CSF ID.BE-3.2 - Organizational roles and responsibilities for cybersecurity SAMA CSF PR.DS-2.1 - Data security and protection (database access controls) SAMA CSF DE.CM-1.1 - Detection and analysis (anomalous activity detection) SAMA CSF RC.RP-1.1 - Recovery planning and processes
🟡 ISO 27001:2022
ISO 27001:2022 A.5.23 - Information security for supplier relationships ISO 27001:2022 A.8.1 - Organizational controls for information security ISO 27001:2022 A.8.2 - Personnel security ISO 27001:2022 A.12.2 - Logging (audit trails for database access) ISO 27001:2022 A.12.6 - Technical vulnerability management ISO 27001:2022 A.14.2 - Supplier security
🟣 PCI DSS v4.0.1
PCI DSS 6.2 - Security patches and updates (if processing payment data) PCI DSS 6.5.1 - Injection flaws prevention PCI DSS 10.2 - Logging and monitoring of access to cardholder data PCI DSS 11.3 - Penetration testing and vulnerability scanning
📊 CVSS Score
7.5
/ 10.0 — High
📊 CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack VectorN — None / Network
Attack ComplexityL — Low / Local
Privileges RequiredN — None / Network
User InteractionN — None / Network
ScopeU — Unchanged
ConfidentialityH — High
IntegrityN — None / Network
AvailabilityN — None / Network
📋 Quick Facts
Severity High
CVSS Score7.5
CWECWE-89
EPSS0.10%
Exploit No
Patch ✗ No
Published 2026-05-19
Source Feed nvd
🇸🇦 Saudi Risk Score
8.2
/ 10.0 — Saudi Risk
Priority: CRITICAL
🏷️ Tags
CWE-89
Share this CVE
📣 Found this valuable?
Share it with your cybersecurity network
in LinkedIn 𝕏 X / Twitter 💬 WhatsApp ✈ Telegram
🍪 Privacy Preferences
CISO Consulting — Compliant with Saudi Personal Data Protection Law (PDPL)
We use cookies and similar technologies to provide the best experience on our platform. You can choose which types you accept.
🔒
Essential Always On
Required for the website to function properly. Cannot be disabled.
📋 Sessions, CSRF tokens, authentication, language preferences
📊
Analytics
Help us understand how visitors use the site and improve performance.
📋 Page views, session duration, traffic sources, performance metrics
⚙️
Functional
Enable enhanced features like content personalization and preferences.
📋 Dark/light theme, font size, custom dashboards, saved filters
📣
Marketing
Used to deliver content and ads relevant to your interests.
📋 Campaign tracking, retargeting, social media analytics
Privacy Policy →
CISO AI Assistant
Ask anything · Documents · Support
🔐

Introduce Yourself

Enter your details to access the full assistant

Your info is private and never shared
💬
CyberAssist
Online · responds in seconds
5 / 5
🔐 Verify Your Identity

Enter your email to receive a verification code before submitting a support request.

Enter to send · / for commands 0 / 2000
CISO AI · Powered by Anthropic Claude
✦ Quick Survey Help Us Improve CISO Consulting Your feedback shapes the future of our platform — takes less than 2 minutes.
⚠ Please answer this question to continue

How would you rate your overall experience with our platform?

Rate from 1 (poor) to 5 (excellent)

🎉
Thank you!
Your response has been recorded.