Contest Gallery <= 28.1.4 - Unauthenticated SQL Injection

7.5
Improper Neutralization of Special Elements used in an SQL Command
CVE CVE-2026-3180
CVSS 7.5 (High)
Publicly Published March 2, 2026
Last Updated March 2, 2026
Researcher Thomas Sanzey

Description

The Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe plugin for WordPress is vulnerable to blind SQL Injection via the ‘cgLostPasswordEmail’ and the ’cgl_mail’ parameter in all versions up to, and including, 28.1.4 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The vulnerability's ’cgLostPasswordEmail’ parameter was patched in version 28.1.4, and the ’cgl_mail’ parameter was patched in version 28.1.5.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Contest Gallery Commerce – Upload, Vote & Sell with PayPal & Stripe

Software Type Plugin
Software Slug contest-gallery (view on wordpress.org)
Patched? Yes
Remediation Update to version 28.1.5, or a newer patched version
Affected Version
  • <= 28.1.4
Patched Version
  • 28.1.5

Recent vulnerabilities in Contest Gallery Commerce – Upload, Vote & Sell with PayPal & Stripe

# Title CVE ID CVSS Researchers Date
1 Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe < 34.0.3 - Authenticated (Author+) Arbitrary File Upload CVE-2026-118041 8.8 Izzny November 11, 2026
2 Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe < 34.0.1 - Missing Authorization CVE-2026-107447 5.3 Nicat Sultanov October 21, 2026
3 Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe <= 34.0.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting CVE-2026-111837 6.4 beopseong.kim October 19, 2026
4 Contest Gallery <= 33.0.0 - Unauthenticated Unauthorized Account Activation CVE-2026-107120 5.3 Akshat Parikh October 8, 2026
5 Contest Gallery <= 32.0.1 - Unauthenticated Arbitrary File Upload via 'baseUrlForFacebook' Parameter CVE-2026-78088 8.8 mad4cyber September 15, 2026
6 Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe <= 30.0.5 - Unauthenticated Stored Cross-Site Scripting CVE-2026-61986 7.2 Thaer Assfour August 19, 2026
7 Contest Gallery <= 30.0.6 - Authenticated (Author+) Second-Order SQL Injection via MultipleFiles Second-Order Payload via 'cg_multiple_files_for_post' -> 'cgRealId' CVE-2026-16586 6.5 Wordfence PRISM August 14, 2026
8 Contest Gallery <= 30.0.6 - Unauthenticated Two-Factor Authentication Bypass CVE-2026-16055 5.3 Muni Nitish Kumar Yaddala July 29, 2026
9 Contest Gallery <= 30.0.6 - Unauthenticated Stored Cross-Site Scripting CVE-2026-65447 7.2 Jayant Kamble July 27, 2026
10 Contest Gallery <= 30.0.6 - Missing Authorization CVE-2026-16056 4.3 Meher Sudhakar Abbireddi July 27, 2026

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation