What’s Vulnerable › Vulnerabilities
CVE-2022-4161: Contest Gallery < 19.1.5 - Author+ SQL Injection
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-12-26 · updated 2026-06-17
- Weakness: CWE-89
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 cg_copy_start POST parameter before concatenating it to an SQL query in copy-gallery-images.php. This may allow malicious users with at least author privilege to leak sensitive information from the site's database.
Affected products
- Contest Gallery Pro: before 19.1.5.1 — fixed in 19.1.5.1
How to fix
Upgrade to a fixed version: Contest Gallery Pro 19.1.5.1. Check the vendor advisory for mitigations.
References
- https://bulletin.iese.de/post/contest-gallery_19-1-4-1_16
- https://wpscan.com/vulnerability/a66af8f7-1d5f-4fe5-a2ba-03337064583b
- https://bulletin.iese.de/post/contest-gallery_19-1-4-1_16
- https://wpscan.com/vulnerability/a66af8f7-1d5f-4fe5-a2ba-03337064583b
Get alerted when CVE-2022-4161 or the next vulnerability affects your stack