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

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-12-26 · Modified: 2025-04-14
- Record: https://cvemate.com/vulnerability/CVE-2022-4156 · JSON: https://cvemate.com/vulnerability/CVE-2022-4156/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 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.
```

## Signals

- CVSS: 8.1 high (v3.1, wordfence) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.061%, percentile 65.688%, 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.5 (fixed in 19.1.5.1)
- wordpress contest-gallery-pro: ≤ 19.1.5 (fixed in 19.1.5.1)

## References

- <https://wpscan.com/vulnerability/254f6e8b-5fa9-4d6d-8e0e-1a4cae18aee0>
- <https://bulletin.iese.de/post/contest-gallery_19-1-4-1_1>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/1a0fa7f6-cc1a-45fe-881d-694c81b841c7>

---

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