# CVE-2022-4161: Contest Gallery \< 19.1.5 - Author+ SQL Injection

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-12-26 · Modified: 2025-04-14
- Record: https://cvemate.com/vulnerability/CVE-2022-4161 · JSON: https://cvemate.com/vulnerability/CVE-2022-4161/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, wordfence) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.965%, percentile 62.871%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- contest-gallery contest\_gallery: \< 19.1.5.1
- unknown contest gallery: \< 19.1.5.1
- unknown contest gallery pro: \< 19.1.5.1
- wordpress contest-gallery: ≤ 19.1.4.1 (fixed in 19.1.5)
- wordpress contest-gallery-pro: ≤ 19.1.4.1 (fixed in 19.1.5)

## References

- <https://wpscan.com/vulnerability/a66af8f7-1d5f-4fe5-a2ba-03337064583b>
- <https://bulletin.iese.de/post/contest-gallery_19-1-4-1_16>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/407d8ebe-f3fc-433a-856f-de2ad4e58b9e>

---

Data as of 2026-12-05T06:51:06.544Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
