SQL Injection Vulnerability in Contest Gallery Plugin

Patch this weekSensitive data exposure over the network, no login needed.
9.3CRITICAL

CVE-2026-40771

Key Information:

Vendor

WordPress

CVE ID
CVE ID:
CVE-2026-40771
Vendor
CVE Published:
15 June 2026
Fixed in
Fixed in:
28.1.7

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version
Contest Gallery below 28.1.7 is vulnerable
Install Contest Gallery 28.1.7 or later
Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Contest Gallery. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Patch this week"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is critical (9.3).

What is CVE-2026-40771?

The Contest Gallery Plugin, versions up to 28.1.6, is susceptible to an unauthenticated SQL injection vulnerability. This security flaw allows attackers to inject malicious SQL code into database queries, leading to potential data theft, modification, or complete control over the affected WordPress site. It is crucial for users to update the plugin immediately to secure their installations against this exploit.

References

SQL Injection Vulnerability in Hello Clever Gateway for WooCommerce by Hello Clever Pty

CVE-2026-136113
WordPressHello Clever Gateway F...9.3CRITICAL

Object Injection in Ultimate Member

CVE-2026-134481
WordPressUltimate Member😄9.8CRITICAL

Unauthorized Password Reset in User Registration Aide Plugin for WordPress

CVE-2026-121385
WordPressUser Registration Aide👾9.8CRITICAL
View more WordPress vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Changed

Credit

Trương Hữu Phúc (truonghuuphuc) | Patchstack Bug Bounty Program
.