Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L
Remote, low-complexity SQLi needing a Contributor account (PR:L, no UI); scope change to the WP database (S:C) yields high confidentiality, with limited integrity plausible for SQLi.
Primary rating from Vendor (patchstack).
CVSS VectorVendor: patchstack
Lifecycle Timeline
1DescriptionCVE.org
Contributor SQL Injection in Contest Gallery <= 30.0.0 versions.
AnalysisAI
SQL injection in the Contest Gallery WordPress plugin (versions <= 30.0.0) allows an authenticated user with Contributor-level access to inject arbitrary SQL through unsanitized input, exposing the contents of the WordPress database. The flaw was disclosed via Patchstack and carries a CVSS 8.5; no public exploit code has been identified at time of analysis and it is not listed in CISA KEV. The CVSS vector indicates a scope change (S:C), meaning the impact reaches beyond the vulnerable component into the underlying database.
Technical ContextAI
Contest Gallery is a WordPress plugin used to run photo and media contests with voting and submission galleries. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), where user-supplied input reaches a database query without parameterization or proper escaping - a recurring class of bug in WordPress plugins that build queries against the shared WordPress MySQL/MariaDB database (wpdb). Because WordPress plugins execute within the site's PHP context and query the same database that stores users, credentials hashes, and post data, an injection here can read data far beyond the plugin's own tables, consistent with the CVSS scope change (S:C). No CPE string was provided in the input; affected scope is derived from the Patchstack advisory rather than an NVD CPE configuration.
RemediationAI
No vendor-released patch version is identified in the available data; consult the Patchstack advisory (https://patchstack.com/database/wordpress/plugin/contest-gallery/vulnerability/wordpress-contest-gallery-plugin-30-0-0-sql-injection-vulnerability?_s_id=cve) for the fixed release and upgrade to a version newer than 30.0.0 as soon as it is confirmed available. Until a patched version is applied, reduce exposure by tightening account provisioning: disable open user registration or ensure new registrations default to Subscriber rather than Contributor, and audit and remove untrusted Contributor-level accounts, since the flaw requires that privilege level - the trade-off is reduced ability for external contributors to submit content. As a compensating control, deploy a WordPress-aware WAF (Patchstack or equivalent) with a virtual patch / SQLi ruleset to filter malicious query parameters, accepting that WAF rules can produce false positives and are not a substitute for the code fix. If the plugin is not actively used, deactivate and remove it to eliminate the attack surface entirely.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-39667
GHSA-25p9-h7xj-6xhv