Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Contributor account
-
DeliverySend crafted request to plugin endpoint
-
ExploitInject SQL via unsanitized parameter
-
ExecutionQuery traverses WordPress database
-
ImpactExfiltrate user data and credential hashes
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated WordPress account at Contributor level or higher (CVSS PR:L) on a site with the Contest Gallery plugin installed and active at version 30.0.0 or earlier; no user interaction is needed (UI:N) and the attack is performed remotely over the network (AV:N) with low complexity (AC:L). The primary limiting factor is the Contributor privilege prerequisite - sites that do not allow untrusted users to hold Contributor or higher roles (e.g., closed single-author or invitation-only sites) substantially reduce realistic risk, whereas sites permitting open or self-service Contributor registration are directly exposed. No special non-default plugin configuration is named in the source description beyond having the vulnerable plugin version present. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L, score 8.5) describes network-reachable, low-complexity exploitation that requires low privileges (PR:L) and no user interaction, with high confidentiality impact, no integrity impact, and low availability impact. The PR:L requirement is the dominant limiting factor: an attacker needs a valid Contributor account, so this is not exploitable by anonymous internet users against a default, locked-down site, but Contributor self-registration or low-trust authoring workflows make it readily reachable. No EPSS score was provided in the input, and the vulnerability is not in CISA KEV - exploitation status is 'no public exploit identified at time of analysis.' This is a genuine, well-scoped priority for sites that grant Contributor or higher accounts to untrusted users, but lower urgency for tightly controlled single-author sites. Note one internal tension: C:H but I:N/A:L is unusual for SQLi, which often permits data modification - the rating implies a read-oriented injection path; verify with the vendor advisory if integrity impact matters to your environment. |
| Exploit ScenarioDerived | An attacker registers or obtains a Contributor account on a WordPress site running Contest Gallery <= 30.0.0, then submits a crafted request to a plugin endpoint with a malicious SQL payload in a parameter that is concatenated into a database query. Because the query runs against the full WordPress database, the attacker extracts sensitive data such as user records and password hashes (scope change, C:H). No public proof-of-concept exploit was identified at time of analysis, and the attack requires only the network-reachable plugin interface plus the Contributor credential. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 26, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
DescriptionCVE.org
Contributor SQL Injection in Contest Gallery <= 30.0.0 versions.
Executive ViewAI
The Contest Gallery WordPress plugin (versions 30.0.0 and earlier) contains a SQL injection vulnerability that allows any contributor-level user to directly access your WordPress database contents, including user credentials, customer data, and sensitive posts. Any organization running this plugin with active contributor accounts faces immediate risk of data exposure.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Revoke Contributor access for non-essential users; (2) Disable the plugin entirely if functionality can be replaced; (3) Deploy Web Application Firewall rules blocking SQL injection patterns in plugin requests; (4) Restrict database user account permissions to least-privilege principles; (5) Enable comprehensive database query auditing; (6) Monitor for suspicious database access patterns from WordPress application user.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
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 AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
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
EUVD-2026-39667
GHSA-25p9-h7xj-6xhv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB