# CVE-2022-4157: Contest Gallery \< 19.1.5 - Admin+ SQL Injection

- Priority: **Routine**
- Reason: Not severe (CVSS 4.9, 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-11
- Record: https://cvemate.com/vulnerability/CVE-2022-4157 · JSON: https://cvemate.com/vulnerability/CVE-2022-4157/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_option_id POST parameter before concatenating it to an SQL query in export-votes-all.php. This may allow malicious users with administrator privileges (i.e. on multisite WordPress configurations) 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: 1.018%, percentile 64.492%, 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/71feec63-67a5-482e-bf77-1396c306fae6>
- <https://bulletin.iese.de/post/contest-gallery_19-1-4-1_3>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/213fde1b-13dc-442a-8f48-4b1074155a6f>

---

Data as of 2026-12-05T03:32:12.354Z. 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
