SQL Injection Vulnerability in Contest Gallery Plugin by WordPress
CVE-2026-40771

9.3CRITICAL

Key Information:

Vendor

WordPress

Vendor
CVE Published:
15 June 2026

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.

Affected Version(s)

Contest Gallery <= 28.1.6

References

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

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

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