Skip to main content

Contest Gallery EUVDEUVD-2026-39667

| CVE-2026-57662 HIGH
SQL Injection (CWE-89)
2026-06-26 audit@patchstack.com GHSA-25p9-h7xj-6xhv
8.5
CVSS 3.1 · Vendor: patchstack
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Contributor account
  2. Delivery
    Send crafted request to plugin endpoint
  3. Exploit
    Inject SQL via unsanitized parameter
  4. Execution
    Query traverses WordPress database
  5. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Contest Gallery n/a ≤30.0.0

Affected Packages

euvd contest_gallery no fix

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

Vendor (patchstack) PRIMARY 8.5 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L
vuln.today AI 8.5 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (patchstack).

CVSS VectorVendor: patchstack

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
Low

DescriptionCVE.org

Contributor SQL Injection in Contest Gallery <= 30.0.0 versions.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
niche WordPress contest plugin, moderate but not universal install base
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy