What’s Vulnerable › Vulnerabilities

CVE-2022-4156: Contest Gallery < 19.1.5.1 - Unauthenticated SQL Injection

Description

The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape the user_id POST parameter before concatenating it to an SQL query in ajax-functions-backend.php. This may allow malicious users with at least author privilege to leak sensitive information from the site's database.

Affected products

How to fix

Upgrade to a fixed version: Contest Gallery Pro 19.1.5.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-4156 or the next vulnerability affects your stack