Contest Gallery Pro <= - Authenticated (Administrator+) SQL Injection via wp_user_id

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2022-4154
CVSS 6.6 (Medium)
Publicly Published December 5, 2022
Last Updated December 9, 2022
Researchers Kunal Sharma
Daniel Krohmer - Fraunhofer IESE Germany


The Contest Gallery Pro plugin for WordPress is vulnerable to SQL Injection in versions up to, and including, due to insufficient escaping on the user supplied wp_user_id parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with author-level privileges or higher to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.



1 affected software package

Software Type Plugin
Software Slug contest-gallery-pro
Patched? Yes
Remediation Update to version 19.1.5, or a newer patched version
Affected Version
  • <=
Patched Version
  • 19.1.5

All the threat data shared in this database is powered by Wordfence Intelligence Enterprise.
Interested in integrating this data into your platform or network?
Contact us now to discuss API access to our Wordfence Intelligence Enterprise Data Feeds.

Inquire Now

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.